diff options
Diffstat (limited to 'content/browser/tab_contents/interstitial_page.cc')
-rw-r--r-- | content/browser/tab_contents/interstitial_page.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/tab_contents/interstitial_page.cc b/content/browser/tab_contents/interstitial_page.cc index c97d946..0dd06ea 100644 --- a/content/browser/tab_contents/interstitial_page.cc +++ b/content/browser/tab_contents/interstitial_page.cc @@ -19,6 +19,7 @@ #include "chrome/common/bindings_policy.h" #include "chrome/common/dom_storage_common.h" #include "chrome/common/net/url_request_context_getter.h" +#include "chrome/common/notification_service.h" #include "chrome/common/notification_source.h" #include "content/browser/browser_thread.h" #include "content/browser/renderer_host/render_process_host.h" @@ -355,6 +356,11 @@ void InterstitialPage::DidNavigate( render_view_host_->view()->Show(); tab_->set_interstitial_page(this); + NotificationService::current()->Notify( + NotificationType::INTERSTITIAL_ATTACHED, + Source<TabContents>(tab_), + NotificationService::NoDetails()); + RenderWidgetHostView* rwh_view = tab_->render_view_host()->view(); // The RenderViewHost may already have crashed before we even get here. |