mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- HandleAddressChange and HandleTitleChange will always be called for the main frame and only the main frame (issue #200).
- The |frame| parameter to HandleLoadStart and HandleLoadEnd will always be non-empty. The CefFrame::IsMain() method can be used to check if the notification is for the main frame. The |isMainContent| parameter has been removed. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@202 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -209,7 +209,6 @@ class BrowserWebViewDelegate : public WebKit::WebViewClient,
|
||||
void SetSelectTrailingWhitespaceEnabled(bool enabled);
|
||||
|
||||
// Additional accessors
|
||||
WebKit::WebFrame* top_loading_frame() { return top_loading_frame_; }
|
||||
#if defined(OS_WIN)
|
||||
BrowserDragDelegate* drag_delegate() { return drag_delegate_.get(); }
|
||||
WebDropTarget* drop_target() { return drop_target_.get(); }
|
||||
@@ -302,11 +301,6 @@ class BrowserWebViewDelegate : public WebKit::WebViewClient,
|
||||
// Non-owning pointer. The delegate is owned by the host.
|
||||
CefBrowserImpl* browser_;
|
||||
|
||||
// This is non-NULL if a load is in progress.
|
||||
WebKit::WebFrame* top_loading_frame_;
|
||||
// This is true if the in-progress load is the main content.
|
||||
bool is_main_content_;
|
||||
|
||||
// For tracking session history. See RenderView.
|
||||
int page_id_;
|
||||
int last_page_id_updated_;
|
||||
|
Reference in New Issue
Block a user