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

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

Issue 11896028: Add an location bar icon and a content settings bubble for media settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser test Created 7 years, 11 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 3ba7f4fb2afad868899bb4dc3932facc6683346b..fee681f859bae3c7f4dcded9a130ddaa97b7d346 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.h
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h
@@ -191,7 +191,6 @@ class TabSpecificContentSettings
pending_protocol_handler_ = ProtocolHandler::EmptyProtocolHandler();
}
-
// Sets the previous protocol handler which will be replaced by the
// pending protocol handler.
void set_previous_protocol_handler(const ProtocolHandler& handler) {
@@ -278,6 +277,9 @@ class TabSpecificContentSettings
void OnGeolocationPermissionSet(const GURL& requesting_frame,
bool allowed);
+ // This method is called when a media stream is accessed.
+ void OnMediaStreamAccessed();
+
// Adds the given |SiteDataObserver|. The |observer| is notified when a
// locale shared object, like for example a cookie, is accessed.
void AddSiteDataObserver(SiteDataObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698