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..cca20d7c945a47707800e4346e0e5960513d3298 100644 |
--- a/chrome/renderer/content_settings_observer.h |
+++ b/chrome/renderer/content_settings_observer.h |
@@ -66,6 +66,8 @@ class ContentSettingsObserver |
void DidNotAllowScript(WebKit::WebFrame* frame); |
private: |
+ FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, |
+ ContentSettingsAllowInterstitialScripts); |
// RenderViewObserver implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
@@ -73,6 +75,7 @@ class ContentSettingsObserver |
// Message handlers. |
void OnLoadBlockedPlugins(); |
+ void OnSetAsInterstitial(); |
// Resets the |content_blocked_| array. |
void ClearBlockedContentSettings(); |
@@ -94,6 +97,7 @@ class ContentSettingsObserver |
std::map<WebKit::WebFrame*, bool> cached_script_permissions_; |
bool plugins_temporarily_allowed_; |
+ bool is_interstitial_page_; |
DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver); |
}; |