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

Side by Side Diff: trunk/src/content/browser/renderer_host/touch_smooth_scroll_gesture_aura.cc

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h" 5 #include "content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h"
6 6
7 #include "content/browser/renderer_host/render_widget_host_impl.h" 7 #include "content/browser/renderer_host/render_widget_host_impl.h"
8 #include "ui/aura/root_window.h" 8 #include "ui/aura/root_window.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 pixels_scrolled_ += abs(position_delta); 66 pixels_scrolled_ += abs(position_delta);
67 67
68 if (pixels_scrolled_ >= pixels_to_scroll_) { 68 if (pixels_scrolled_ >= pixels_to_scroll_) {
69 InjectTouchEvent(location_, ui::ET_TOUCH_RELEASED, window_); 69 InjectTouchEvent(location_, ui::ET_TOUCH_RELEASED, window_);
70 } 70 }
71 71
72 return true; 72 return true;
73 } 73 }
74 74
75 } // namespace content 75 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/browser/renderer_host/touch_smooth_scroll_gesture_aura.h ('k') | trunk/src/content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698