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

Unified Diff: ui/views/widget/widget.cc

Issue 9076002: Initial views touchui Gesture Recognizer support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win release build Created 8 years, 11 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/widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 73c2bd0a61af0aafc7aeb2a9b6b5d8964de70f88..b9be13b43dc37eec9c22e1b702f26492de5994cd 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1074,7 +1074,12 @@ void Widget::OnMouseCaptureLost() {
ui::TouchStatus Widget::OnTouchEvent(const TouchEvent& event) {
ScopedEvent scoped(this, event);
- return static_cast<internal::RootView*>(GetRootView())->OnTouchEvent(event);
+ return GetRootView()->OnTouchEvent(event);
+}
+
+ui::GestureStatus Widget::OnGestureEvent(const GestureEvent& event) {
+ ScopedEvent scoped(this, event);
+ return GetRootView()->OnGestureEvent(event);
}
bool Widget::ExecuteCommand(int command_id) {
« no previous file with comments | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698