| Index: chrome/renderer/content_settings_observer.h
|
| ===================================================================
|
| --- chrome/renderer/content_settings_observer.h (revision 113593)
|
| +++ chrome/renderer/content_settings_observer.h (working copy)
|
| @@ -65,6 +65,10 @@
|
| void DidNotAllowPlugins(WebKit::WebFrame* frame);
|
| void DidNotAllowScript(WebKit::WebFrame* frame);
|
|
|
| + // Used for allowing scripts and images on views displaying interstitial
|
| + // pages.
|
| + void SetAsInterstitial();
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(ContentSettingsObserverTest, WhitelistedSchemes);
|
|
|
| @@ -103,6 +107,7 @@
|
| std::map<WebKit::WebFrame*, bool> cached_script_permissions_;
|
|
|
| bool plugins_temporarily_allowed_;
|
| + bool is_interstitial_page_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ContentSettingsObserver);
|
| };
|
|
|