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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.h

Issue 11488009: Add content settings page action for Pepper broker authorization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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/browser/content_settings/tab_specific_content_settings.h
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h
index fee681f859bae3c7f4dcded9a130ddaa97b7d346..a13fe7ef11b44e1d65691697b38554698f993f29 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.h
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h
@@ -229,6 +229,10 @@ class TabSpecificContentSettings
load_plugins_link_enabled_ = enabled;
}
+ // Called to indicate whether access to the Pepper broker was allowed or
+ // blocked.
+ void SetPepperBrokerAllowed(bool allowed);
+
// content::WebContentsObserver overrides.
virtual void RenderViewForInterstitialPageCreated(
content::RenderViewHost* render_view_host) OVERRIDE;
@@ -250,6 +254,7 @@ class TabSpecificContentSettings
// Message handlers. Public for testing.
void OnContentBlocked(ContentSettingsType type,
const std::string& resource_identifier);
+ void OnContentAccessed(ContentSettingsType type);
// These methods are invoked on the UI thread by the static functions above.
// Public for testing.
@@ -294,8 +299,6 @@ class TabSpecificContentSettings
void AddBlockedResource(ContentSettingsType content_type,
const std::string& resource_identifier);
- void OnContentAccessed(ContentSettingsType type);
-
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698