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

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

Issue 10584042: Bring up a content settings icon for ungestured registerProtocolHandler call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Repair merge to head Created 8 years, 6 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.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index bd28c67b014602c7aa80edb9b97b914bbc4a2632..50fa8e1eb4a33cb0e46170051ef26e14e7b4dc08 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -74,6 +74,9 @@ TabSpecificContentSettings::TabSpecificContentSettings(WebContents* tab)
allowed_local_shared_objects_(profile_),
blocked_local_shared_objects_(profile_),
geolocation_settings_state_(profile_),
+ pending_protocol_handler_(ProtocolHandler::EmptyProtocolHandler()),
+ previous_protocol_handler_(ProtocolHandler::EmptyProtocolHandler()),
+ pending_protocol_handler_setting_(CONTENT_SETTING_DEFAULT),
load_plugins_link_enabled_(true) {
ClearBlockedContentSettingsExceptForCookies();
ClearCookieSpecificContentSettings();

Powered by Google App Engine
This is Rietveld 408576698