Index: chrome/renderer/chrome_render_view_observer.cc |
=================================================================== |
--- chrome/renderer/chrome_render_view_observer.cc (revision 113593) |
+++ chrome/renderer/chrome_render_view_observer.cc (working copy) |
@@ -269,6 +269,7 @@ |
IPC_MESSAGE_HANDLER(ChromeViewMsg_GetFPS, OnGetFPS) |
IPC_MESSAGE_HANDLER(ChromeViewMsg_AddStrictSecurityHost, |
OnAddStrictSecurityHost) |
+ IPC_MESSAGE_HANDLER(ChromeViewMsg_SetAsInterstitial, OnSetAsInterstitial) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -366,6 +367,10 @@ |
strict_security_hosts_.insert(host); |
} |
+void ChromeRenderViewObserver::OnSetAsInterstitial() { |
+ content_settings_->SetAsInterstitial(); |
+} |
+ |
void ChromeRenderViewObserver::Navigate(const GURL& url) { |
// Execute cache clear operations that were postponed until a navigation |
// event (including tab reload). |