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..ecbee2b4a08472088be8827eaf8ad9aea305a24d 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); |
+ // This is used to check if the location icon bubble was showing during the |
+ // mouse pressed event. If this is true then the mouse released event is |
+ // ignored to prevent the bubble from reshowing. |
Peter Kasting
2014/09/17 20:51:42
Nit: How about this:
Set to true when the bubble
Gaja
2014/09/18 02:51:39
Perfect. Thanks!.
|
+ bool suppress_mouse_released_action_; |
+ |
PageInfoHelper page_info_helper_; |
DISALLOW_COPY_AND_ASSIGN(LocationIconView); |