| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "views/controls/image_view.h" | 9 #include "ui/views/controls/image_view.h" |
| 10 | 10 |
| 11 class CommandUpdater; | 11 class CommandUpdater; |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 class KeyEvent; | 14 class KeyEvent; |
| 15 class MouseEvent; | 15 class MouseEvent; |
| 16 } | 16 } |
| 17 | 17 |
| 18 class StarView : public views::ImageView { | 18 class StarView : public views::ImageView { |
| 19 public: | 19 public: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; | 32 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; |
| 33 virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE; | 33 virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE; |
| 34 | 34 |
| 35 // The CommandUpdater for the Browser object that owns the location bar. | 35 // The CommandUpdater for the Browser object that owns the location bar. |
| 36 CommandUpdater* command_updater_; | 36 CommandUpdater* command_updater_; |
| 37 | 37 |
| 38 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(StarView); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ | 41 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_STAR_VIEW_H_ |
| OLD | NEW |