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

Unified Diff: ui/aura/root_window.h

Issue 8907005: Add support for new scroll valuators coming from CMT (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 years 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/event.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 52640dc4988dfb4afad2f95f625a89361982aec4..d59895596491abd56d83bc7e28de37cd22c83e22 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -38,6 +38,7 @@ class KeyEvent;
class MouseEvent;
class ScreenAura;
class StackingClient;
+class ScrollEvent;
class TouchEvent;
// RootWindow is responsible for hosting a set of windows.
@@ -85,6 +86,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Handles a key event. Returns true if handled.
bool DispatchKeyEvent(KeyEvent* event);
+ // Handles a scroll event. Returns true if handled.
+ bool DispatchScrollEvent(ScrollEvent* event);
+
// Handles a touch event. Returns true if handled.
bool DispatchTouchEvent(TouchEvent* event);
« no previous file with comments | « ui/aura/event.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698