Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: chrome/renderer/content_settings_observer.h

Issue 9323071: Use InterstitialPage through a delegate interface instead of deriving from it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix tests Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/content_settings_observer.h
===================================================================
--- chrome/renderer/content_settings_observer.h (revision 120576)
+++ chrome/renderer/content_settings_observer.h (working copy)
@@ -65,12 +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);
+ FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest,
+ ContentSettingsInterstitialPages);
// RenderViewObserver implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -79,6 +77,7 @@
// Message handlers.
void OnLoadBlockedPlugins();
+ void OnSetAsInterstitial();
// Resets the |content_blocked_| array.
void ClearBlockedContentSettings();

Powered by Google App Engine
This is Rietveld 408576698