Index: chrome/browser/ui/views/location_bar/location_icon_view.h |
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.h b/chrome/browser/ui/views/location_bar/location_icon_view.h |
index 3a7b7f8c427162b5568260570e78e418a3e3f5d6..9b231f52fa21fa81401c73c138f8238ec5813693 100644 |
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h |
@@ -36,6 +36,11 @@ class LocationIconView : public views::ImageView { |
// helper in the appropriate circumstances. |
void OnClickOrTap(const ui::LocatedEvent& event); |
+ // Set to true when the bubble is already showing at the time the icon is |
+ // clicked. This suppresses re-showing the bubble on mouse release, so that |
+ // clicking the icon repeatedly will appear to toggle the bubble on and off. |
+ bool suppress_mouse_released_action_; |
+ |
PageInfoHelper page_info_helper_; |
DISALLOW_COPY_AND_ASSIGN(LocationIconView); |