Chromium Code Reviews| 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 678533696c2b427d37cd919a208a36c7d1de7ecb..39b89db059164a35369a00b1af8b037c3bfdcaec 100644 |
| --- a/chrome/browser/ui/views/location_bar/star_view.h |
| +++ b/chrome/browser/ui/views/location_bar/star_view.h |
| @@ -25,15 +25,13 @@ class StarView : public views::ImageView, public InfoBubbleDelegate { |
| // Toggles the star on or off. |
| void SetToggled(bool on); |
| - private: |
| // views::ImageView overrides: |
| - virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| - virtual bool GetTooltipText(const gfx::Point& p, std::wstring* tooltip) |
| - OVERRIDE; |
| virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |
| - virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled) |
| - OVERRIDE; |
| - virtual bool OnKeyPressed(const views::KeyEvent& e) OVERRIDE; |
| + virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; |
| + virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE; |
| + virtual bool GetTooltipText(const gfx::Point& p, |
| + std::wstring* tooltip) OVERRIDE; |
| + virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| // InfoBubbleDelegate overrides: |
| virtual void InfoBubbleClosing(InfoBubble* info_bubble, |
| @@ -41,6 +39,7 @@ class StarView : public views::ImageView, public InfoBubbleDelegate { |
| virtual bool CloseOnEscape() OVERRIDE; |
| virtual bool FadeInOnShow() OVERRIDE; |
| + private: |
|
sadrul
2011/03/19 09:15:30
Why are all the private functions made public?
msw
2011/03/26 00:09:50
Done.
|
| // The CommandUpdater for the Browser object that owns the location bar. |
| CommandUpdater* command_updater_; |