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 22c44702f27a49a177fbccdced74577cd94fa0b6..9cc9c7935ba964ae1dd213881900c32b15cd400c 100644 |
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h |
@@ -25,6 +25,10 @@ class LocationIconView : public views::ImageView { |
// ui::EventHandler: |
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
+ // Handles both click and gesture events by delegating to the page info |
+ // helper in the appropriate circumstances. |
+ void OnClickOrTap(const ui::LocatedEvent& event); |
Peter Kasting
2014/03/18 18:37:46
Nit: This can be private, no?
Justin Donnelly
2014/03/21 20:07:46
Done.
|
+ |
// Whether we should show the tooltip for this icon or not. |
void ShowTooltip(bool show); |
@@ -32,6 +36,7 @@ class LocationIconView : public views::ImageView { |
private: |
PageInfoHelper page_info_helper_; |
+ LocationBarView* location_bar_; |
DISALLOW_IMPLICIT_CONSTRUCTORS(LocationIconView); |
}; |