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

Unified Diff: ui/aura/root_window_host_delegate.h

Issue 10827145: Convert Aura to use ui::Event. (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/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_delegate.h
===================================================================
--- ui/aura/root_window_host_delegate.h (revision 150582)
+++ ui/aura/root_window_host_delegate.h (working copy)
@@ -9,22 +9,25 @@
class Size;
}
-namespace aura {
-
+namespace ui {
class KeyEvent;
class MouseEvent;
-class RootWindow;
class ScrollEvent;
-class TouchEvent;
+class TouchEventImpl;
+}
+namespace aura {
+
+class RootWindow;
+
// A private interface used by RootWindowHost implementations to communicate
// with their owning RootWindow.
class AURA_EXPORT RootWindowHostDelegate {
public:
- virtual bool OnHostKeyEvent(KeyEvent* event) = 0;
- virtual bool OnHostMouseEvent(MouseEvent* event) = 0;
- virtual bool OnHostScrollEvent(ScrollEvent* event) = 0;
- virtual bool OnHostTouchEvent(TouchEvent* event) = 0;
+ virtual bool OnHostKeyEvent(ui::KeyEvent* event) = 0;
+ virtual bool OnHostMouseEvent(ui::MouseEvent* event) = 0;
+ virtual bool OnHostScrollEvent(ui::ScrollEvent* event) = 0;
+ virtual bool OnHostTouchEvent(ui::TouchEventImpl* event) = 0;
virtual void OnHostLostCapture() = 0;
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698