libcef: Update due to underlying chromium changes.

- WebKit API changes.
- Add WebSocketStreamHandleBridge implementation.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@60 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2009-10-21 23:27:29 +00:00
parent faabcb28c5
commit 5186e4a223
20 changed files with 336 additions and 27 deletions

View File

@ -16,7 +16,9 @@
#include "printing/win_printing_context.h"
#endif
#include "webkit/glue/webview.h"
namespace WebKit {
class WebView;
}
#define BUFFER_SIZE 32768
@ -91,7 +93,7 @@ public:
int startLine);
virtual std::wstring GetURL(CefRefPtr<CefFrame> frame);
WebView* GetWebView() const {
WebKit::WebView* GetWebView() const {
return webviewhost_.get() ? webviewhost_->webview() : NULL;
}
WebViewHost* GetWebViewHost() const {
@ -272,9 +274,7 @@ public:
int startLine)
{ return browser_->ExecuteJavaScript(this, jsCode, scriptUrl, startLine); }
virtual bool IsMain() { return name_.empty(); }
virtual bool IsFocused()
{ return (browser_->GetWebFrame(this) ==
browser_->GetWebView()->focusedFrame()); }
virtual bool IsFocused();
virtual std::wstring GetName() { return name_; }
virtual std::wstring GetURL() { return browser_->GetURL(this); }