Index: chrome/renderer/content_settings_observer.h |
diff --git a/chrome/renderer/content_settings_observer.h b/chrome/renderer/content_settings_observer.h |
index a76e71cc226b8dfa2efa6b30e2f50d14192549ca..5272a603c2da3791e390fea4616466d0b88f42c6 100644 |
--- a/chrome/renderer/content_settings_observer.h |
+++ b/chrome/renderer/content_settings_observer.h |
@@ -65,6 +65,10 @@ class ContentSettingsObserver |
void DidNotAllowPlugins(WebKit::WebFrame* frame); |
void DidNotAllowScript(WebKit::WebFrame* frame); |
+ // Sets the page as an interstitial page. Images and scripts will be allowed |
+ // even if they would be blocked by the content setting rules. |
+ void SetAsInterstitialPage(); |
+ |
private: |
// RenderViewObserver implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
@@ -94,6 +98,7 @@ class ContentSettingsObserver |
std::map<WebKit::WebFrame*, bool> cached_script_permissions_; |
bool plugins_temporarily_allowed_; |
+ bool is_interstitial_page_; |
DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); |
}; |