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

Unified Diff: ui/views/widget/native_widget_delegate.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/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_delegate.h
===================================================================
--- ui/views/widget/native_widget_delegate.h (revision 150588)
+++ ui/views/widget/native_widget_delegate.h (working copy)
@@ -18,13 +18,13 @@
}
namespace ui {
+class KeyEvent;
class Layer;
}
namespace views {
class InputMethod;
class GestureEvent;
-class KeyEvent;
class MouseEvent;
class TouchEvent;
@@ -105,7 +105,7 @@
virtual int GetNonClientComponent(const gfx::Point& point) = 0;
// Mouse and key event handlers.
- virtual bool OnKeyEvent(const KeyEvent& event) = 0;
+ virtual bool OnKeyEvent(const ui::KeyEvent& event) = 0;
virtual bool OnMouseEvent(const MouseEvent& event) = 0;
virtual void OnMouseCaptureLost() = 0;
virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698