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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.h

Issue 2169453003: Hide protocol handler icon in location bar after user is done (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also remove header include Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/content_settings/content_setting_bubble_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/content_settings/content_setting_bubble_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
index 93c1d624c13b1eb467aa5144175e30ff67acb917..a7b5aaf11800c3bc6620f9563d729eedf7563689 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -260,6 +260,7 @@ class ContentSettingRPHBubbleModel : public ContentSettingSimpleBubbleModel {
content::WebContents* web_contents,
Profile* profile,
ProtocolHandlerRegistry* registry);
+ ~ContentSettingRPHBubbleModel() override;
void OnRadioClicked(int radio_index) override;
void OnDoneClicked() override;
@@ -271,6 +272,9 @@ class ContentSettingRPHBubbleModel : public ContentSettingSimpleBubbleModel {
void ClearOrSetPreviousHandler();
int selected_item_;
+ // Initially false, set to true if the user explicitly interacts with the
+ // bubble.
+ bool interacted_;
ProtocolHandlerRegistry* registry_;
ProtocolHandler pending_handler_;
ProtocolHandler previous_handler_;
« no previous file with comments | « no previous file | chrome/browser/ui/content_settings/content_setting_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698