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

Unified Diff: views/touchui/gesture_manager.cc

Issue 7942004: Consolidate/cleanup event cracking code; single out GdkEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge removal of compact nav. Created 9 years, 3 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 | « views/native_types.h ('k') | views/touchui/touch_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/touchui/gesture_manager.cc
diff --git a/views/touchui/gesture_manager.cc b/views/touchui/gesture_manager.cc
index cf966ae9200fc3339f7ec44900c84013e4f112f4..723db77792244d63a4763b5bbb500ebeb69516d7 100644
--- a/views/touchui/gesture_manager.cc
+++ b/views/touchui/gesture_manager.cc
@@ -36,8 +36,7 @@ bool GestureManager::ProcessTouchEventForGesture(const TouchEvent& event,
// Conver the touch-event into a mouse-event. This mouse-event gets its
// location information from the native-event, so it needs to convert the
// coordinate to the target widget.
- Event::FromNativeEvent2 from_native;
- MouseEvent mouseev(event, from_native);
+ MouseEvent mouseev(event);
if (ViewsDelegate::views_delegate->GetDefaultParentView()) {
// TODO(oshima): We may need to send the event back through
// window manager to handle mouse capture correctly.
« no previous file with comments | « views/native_types.h ('k') | views/touchui/touch_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698