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 ac083689d0f4491200fd779f1357857a7143f294..1c3b9f5c30d7184d5c0d03119208cc52ac0a47c6 100644 |
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h |
@@ -12,10 +12,6 @@ |
class LocationBarView; |
-namespace ui { |
-class LocatedEvent; |
-} |
- |
// Use a LocationIconView to display an icon on the leading side of the edit |
// field. It shows the user's current action (while the user is editing), or the |
// page security status (after navigation has completed), or extension name (if |
@@ -38,6 +34,8 @@ class LocationIconView : public IconLabelBubbleView, |
SkColor GetTextColor() const override; |
bool OnActivate(const ui::Event& event) override; |
void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
+ bool IsBubbleShown() const override; |
+ bool CanClick() const override; |
// Whether we should show the tooltip for this icon or not. |
void set_show_tooltip(bool show_tooltip) { show_tooltip_ = show_tooltip; } |
@@ -58,20 +56,9 @@ class LocationIconView : public IconLabelBubbleView, |
// gfx::AnimationDelegate: |
void AnimationProgressed(const gfx::Animation*) override; |
- void ProcessLocatedEvent(const ui::LocatedEvent& event); |
- |
// Returns what the minimum size would be if the preferred size were |size|. |
gfx::Size GetMinimumSizeForPreferredSize(gfx::Size size) const; |
- // Handles both click and gesture events by delegating to the page info |
- // 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_; |
- |
// True if hovering this view should display a tooltip. |
bool show_tooltip_; |