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

Unified Diff: ui/views/widget/native_widget_delegate.h

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (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_unittest.cc ('k') | ui/views/widget/native_widget_win.cc » ('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 151481)
+++ ui/views/widget/native_widget_delegate.h (working copy)
@@ -18,15 +18,15 @@
}
namespace ui {
+class GestureEvent;
class KeyEvent;
class Layer;
+class MouseEvent;
+class TouchEvent;
}
namespace views {
class InputMethod;
-class GestureEvent;
-class MouseEvent;
-class TouchEvent;
namespace internal {
@@ -108,8 +108,8 @@
virtual bool OnKeyEvent(const ui::KeyEvent& event) = 0;
virtual bool OnMouseEvent(const ui::MouseEvent& event) = 0;
virtual void OnMouseCaptureLost() = 0;
- virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) = 0;
- virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event) = 0;
+ virtual ui::TouchStatus OnTouchEvent(const ui::TouchEvent& event) = 0;
+ virtual ui::GestureStatus OnGestureEvent(const ui::GestureEvent& event) = 0;
// Runs the specified native command. Returns true if the command is handled.
virtual bool ExecuteCommand(int command_id) = 0;
« no previous file with comments | « ui/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698