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 764282435af0e641d427602d8369561d12fede12..504cf870abba994f73ab23a61e570ba6ae733e8a 100644 |
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.h |
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.h |
@@ -18,7 +18,7 @@ class BubbleIconView : public views::ImageView { |
EXECUTE_SOURCE_GESTURE, |
}; |
- explicit BubbleIconView(CommandUpdater* command_updater, int command_id); |
+ BubbleIconView(CommandUpdater* command_updater, int command_id); |
~BubbleIconView() override; |
// Returns true if a related bubble is showing. |
@@ -38,10 +38,11 @@ class BubbleIconView : public views::ImageView { |
// ui::EventHandler: |
void OnGestureEvent(ui::GestureEvent* event) override; |
- private: |
+ protected: |
// Calls OnExecuting and runs |command_id_| with a valid |command_updater_|. |
- void ExecuteCommand(ExecuteSource source); |
+ virtual void ExecuteCommand(ExecuteSource source); |
+ private: |
// The CommandUpdater for the Browser object that owns the location bar. |
CommandUpdater* command_updater_; |