| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h" | 8 #include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h" |
| 9 #include "ui/views/controls/image_view.h" | 9 #include "ui/views/controls/image_view.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 private: | 29 private: |
| 30 // views::ImageView overrides: | 30 // views::ImageView overrides: |
| 31 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 31 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 32 virtual bool GetTooltipText(const gfx::Point& p, | 32 virtual bool GetTooltipText(const gfx::Point& p, |
| 33 string16* tooltip) const OVERRIDE; | 33 string16* tooltip) const OVERRIDE; |
| 34 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; | 34 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
| 35 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; | 35 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |
| 36 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; | 36 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; |
| 37 | 37 |
| 38 // ui::EventHandler overrides: | 38 // ui::EventHandler overrides: |
| 39 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 39 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
| 40 | 40 |
| 41 // The CommandUpdater for the Browser object that owns the location bar. | 41 // The CommandUpdater for the Browser object that owns the location bar. |
| 42 CommandUpdater* command_updater_; | 42 CommandUpdater* command_updater_; |
| 43 | 43 |
| 44 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); | 44 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ | 47 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ |
| OLD | NEW |