Chromium Code Reviews| Index: chrome/browser/ui/views/location_bar/bubble_icon_view.h |
| diff --git a/chrome/browser/ui/views/location_bar/bubble_icon_view.h b/chrome/browser/ui/views/location_bar/bubble_icon_view.h |
| index 8133b0ffbcaff29557a162b54571f20800b412e9..6981d7a612701767ac076ef24a928ac9168f2195 100644 |
| --- a/chrome/browser/ui/views/location_bar/bubble_icon_view.h |
| +++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.h |
| @@ -38,6 +38,10 @@ class BubbleIconView : public views::ImageView { |
| // ui::EventHandler: |
| virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
| + bool suppress_mouse_released_action() const { |
|
Peter Kasting
2014/07/23 17:58:23
Rather than add this, we could do the following, w
vasilii
2014/07/24 15:43:18
I didn't get your proposal. BubbleIconView is used
|
| + return suppress_mouse_released_action_; |
| + } |
| + |
| private: |
| // The CommandUpdater for the Browser object that owns the location bar. |
| CommandUpdater* command_updater_; |