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

Unified Diff: ui/views/view.h

Issue 12207092: views: Dispatch key, touch, scroll and gesture events using the EventDispatch interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land Created 7 years, 10 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 | « no previous file | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 1d0f5647f5777ed84f47ae2d5b31e7da812a934b..2698d6da7f2d316d63df88181e94220a2d0026d4 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -73,6 +73,7 @@ class ScrollView;
class Widget;
namespace internal {
+class PostEventDispatchHandler;
class RootView;
}
@@ -1128,6 +1129,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
#endif
private:
+ friend class internal::PostEventDispatchHandler;
friend class internal::RootView;
friend class FocusManager;
friend class Widget;
@@ -1296,13 +1298,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
bool ProcessMouseDragged(const ui::MouseEvent& event, DragInfo* drop_info);
void ProcessMouseReleased(const ui::MouseEvent& event);
- // RootView will invoke this with incoming TouchEvents.
- void ProcessTouchEvent(ui::TouchEvent* event);
-
- // RootView will invoke this with incoming GestureEvents. This invokes
- // OnGestureEvent.
- void ProcessGestureEvent(ui::GestureEvent* event);
-
// Accelerators --------------------------------------------------------------
// Registers this view's keyboard accelerators that are not registered to
@@ -1485,6 +1480,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
DragController* drag_controller_;
+ // Input --------------------------------------------------------------------
+
+ scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_;
+
// Accessibility -------------------------------------------------------------
// The Windows-specific accessibility implementation for this view.
« no previous file with comments | « no previous file | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698