Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: chrome/browser/ui/views/location_bar/star_view.h

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/star_view.h
===================================================================
--- chrome/browser/ui/views/location_bar/star_view.h (revision 150588)
+++ chrome/browser/ui/views/location_bar/star_view.h (working copy)
@@ -11,13 +11,11 @@
class CommandUpdater;
namespace views {
-class KeyEvent;
class MouseEvent;
}
-class StarView
- : public views::ImageView,
- public TouchableLocationBarView {
+class StarView : public views::ImageView,
+ public TouchableLocationBarView {
public:
explicit StarView(CommandUpdater* command_updater);
virtual ~StarView();
@@ -37,7 +35,7 @@
virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE;
virtual ui::GestureStatus OnGestureEvent(
const views::GestureEvent& event) OVERRIDE;
- virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
+ virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
// The CommandUpdater for the Browser object that owns the location bar.
CommandUpdater* command_updater_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/page_action_image_view.cc ('k') | chrome/browser/ui/views/location_bar/star_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698