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_; |