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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.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/omnibox/omnibox_view_views.h
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_views.h (revision 150588)
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.h (working copy)
@@ -63,10 +63,10 @@
void SetBaseColor();
// Called after key even is handled either by HandleKeyEvent or by Textfield.
- bool HandleAfterKeyEvent(const views::KeyEvent& event, bool handled);
+ bool HandleAfterKeyEvent(const ui::KeyEvent& event, bool handled);
// Called when KeyRelease event is generated on textfield.
- bool HandleKeyReleaseEvent(const views::KeyEvent& event);
+ bool HandleKeyReleaseEvent(const ui::KeyEvent& event);
// Called when mouse events are generated on the textfield.
// The views::Textfield implementations will be executed first.
@@ -133,7 +133,7 @@
virtual void ContentsChanged(views::Textfield* sender,
const string16& new_contents) OVERRIDE;
virtual bool HandleKeyEvent(views::Textfield* sender,
- const views::KeyEvent& key_event) OVERRIDE;
+ const ui::KeyEvent& key_event) OVERRIDE;
virtual void OnBeforeUserAction(views::Textfield* sender) OVERRIDE;
virtual void OnAfterUserAction(views::Textfield* sender) OVERRIDE;
virtual void OnAfterCutOrCopy() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/views/location_bar/zoom_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698