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

Unified Diff: ui/views/controls/combobox/native_combobox_wrapper.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
« no previous file with comments | « ui/views/controls/combobox/native_combobox_win.cc ('k') | ui/views/controls/link.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/native_combobox_wrapper.h
===================================================================
--- ui/views/controls/combobox/native_combobox_wrapper.h (revision 150588)
+++ ui/views/controls/combobox/native_combobox_wrapper.h (working copy)
@@ -8,14 +8,17 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
-namespace gfx{
+namespace gfx {
class Size;
}
+namespace ui {
+class KeyEvent;
+}
+
namespace views {
class Combobox;
-class KeyEvent;
class View;
class VIEWS_EXPORT NativeComboboxWrapper {
@@ -47,8 +50,8 @@
// Invoked when a key is pressed/release on combobox. Subclasser should
// return true if the event has been processed and false otherwise.
// See also View::OnKeyPressed/OnKeyReleased.
- virtual bool HandleKeyPressed(const views::KeyEvent& e) = 0;
- virtual bool HandleKeyReleased(const views::KeyEvent& e) = 0;
+ virtual bool HandleKeyPressed(const ui::KeyEvent& e) = 0;
+ virtual bool HandleKeyReleased(const ui::KeyEvent& e) = 0;
// Invoked when focus is being moved from or to the combobox.
// See also View::OnFocus/OnBlur.
« no previous file with comments | « ui/views/controls/combobox/native_combobox_win.cc ('k') | ui/views/controls/link.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698