Index: chrome/browser/ui/views/location_bar/star_view.h |
diff --git a/chrome/browser/ui/views/location_bar/star_view.h b/chrome/browser/ui/views/location_bar/star_view.h |
index 58f4f2e661a74a195f7086c2d9efaa51dce51cc5..94e69c78c9227c09339ed88ffe84aad087abe8cb 100644 |
--- a/chrome/browser/ui/views/location_bar/star_view.h |
+++ b/chrome/browser/ui/views/location_bar/star_view.h |
@@ -7,12 +7,12 @@ |
#include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" |
-class CommandUpdater; |
+class Browser; |
// The star icon to show a bookmark bubble. |
class StarView : public BubbleIconView { |
public: |
- explicit StarView(CommandUpdater* command_updater); |
+ explicit StarView(Browser* browser); |
~StarView() override; |
// Toggles the star on or off. |
@@ -22,8 +22,10 @@ class StarView : public BubbleIconView { |
// BubbleIconView: |
bool IsBubbleShowing() const override; |
void OnExecuting(BubbleIconView::ExecuteSource execute_source) override; |
+ void ExecuteCommand(ExecuteSource source) override; |
private: |
+ Browser* browser_; |
tfarina
2014/12/12 21:54:23
please, add a blank line after this.
Deepak
2014/12/13 03:36:54
Done.
|
DISALLOW_COPY_AND_ASSIGN(StarView); |
}; |