mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Update due to underlying chromium changes.
- Add unique IDs for browser instances because ResourceLoaderBridge::Create() now receives a routing ID instead of a WebFrame pointer. The unique ID is assigned to a browser in CefContext::AddBrowser() and attached to a request in BrowserWebViewDelegate::WillSendRequest(). - Add upload progress notification support to resource loader bridge. - WebFrame::ExecuteJavaScript() changed to WebFrame::ExecuteScript(). - More functions moved into webkit_glue::WebKitClientImpl. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@22 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -192,6 +192,9 @@ public:
|
||||
int UIT_SwitchFrameToPrintMediaType(WebFrame* frame);
|
||||
int UIT_GetPagesCount(WebFrame* frame);
|
||||
|
||||
void UIT_SetUniqueID(int id) { unique_id_ = id; }
|
||||
int UIT_GetUniqueID() { return unique_id_; }
|
||||
|
||||
#if defined(OS_WIN)
|
||||
void UIT_DisableWebView(bool val);
|
||||
bool UIT_IsWebViewDisabled() { return (webview_bitmap_ != NULL); }
|
||||
@ -228,6 +231,9 @@ protected:
|
||||
typedef std::map<std::wstring, CefRefPtr<CefJSContainer> > JSContainerMap;
|
||||
JSContainerMap jscontainers_;
|
||||
|
||||
// Unique browser ID assigned by the context.
|
||||
int unique_id_;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
HBITMAP webview_bitmap_;
|
||||
SIZE webview_bitmap_size_;
|
||||
|
Reference in New Issue
Block a user