Index: content/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- content/browser/tab_contents/tab_contents.cc (revision 99462) |
+++ content/browser/tab_contents/tab_contents.cc (working copy) |
@@ -307,6 +307,7 @@ |
IPC_MESSAGE_HANDLER(ViewHostMsg_WebIntentDispatch, |
OnWebIntentDispatch) |
IPC_MESSAGE_HANDLER(ViewHostMsg_Find_Reply, OnFindReply) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_CrashedPlugin, OnCrashedPlugin) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP_EX() |
@@ -901,6 +902,9 @@ |
bool is_main_frame, |
bool has_opener_set, |
const GURL& url) { |
+ delegate()->DidStartProvisionalLoadForFrame(this, frame_id, is_main_frame, |
jam
2011/09/03 00:10:47
is this new delegate method really necessary? the
ananta
2011/09/03 00:43:23
Thanks for pointing that out. Done.
|
+ has_opener_set, url); |
+ |
bool is_error_page = (url.spec() == chrome::kUnreachableWebDataURL); |
GURL validated_url(url); |
render_view_host()->FilterURL(ChildProcessSecurityPolicy::GetInstance(), |
@@ -1146,6 +1150,10 @@ |
active_match_ordinal, final_update); |
} |
+void TabContents::OnCrashedPlugin(const FilePath& plugin_path) { |
+ delegate()->CrashedPlugin(this, plugin_path); |
+} |
+ |
// Notifies the RenderWidgetHost instance about the fact that the page is |
// loading, or done loading and calls the base implementation. |
void TabContents::SetIsLoading(bool is_loading, |
@@ -1606,7 +1614,7 @@ |
void TabContents::UpdateTargetURL(int32 page_id, const GURL& url) { |
if (delegate()) |
- delegate()->UpdateTargetURL(this, url); |
+ delegate()->UpdateTargetURL(this, page_id, url); |
} |
void TabContents::Close(RenderViewHost* rvh) { |