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

Unified Diff: content/browser/renderer_host/input/web_input_event_util.h

Issue 718153002: Indicate whether a touch event will cause scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/web_input_event_util.h
diff --git a/content/browser/renderer_host/input/web_input_event_util.h b/content/browser/renderer_host/input/web_input_event_util.h
index 1cadd7d0050aa48e2a5f6f32eacaf670ed9f6bf3..98349b40798336ef6845cae6ca919c8907696c0b 100644
--- a/content/browser/renderer_host/input/web_input_event_util.h
+++ b/content/browser/renderer_host/input/web_input_event_util.h
@@ -22,13 +22,11 @@ CONTENT_EXPORT void UpdateWindowsKeyCodeAndKeyIdentifier(
blink::WebKeyboardEvent* event,
ui::KeyboardCode windows_key_code);
-// Creates a WebTouchEvent from |event|, scaling all size components from
-// |event| by |scale|.
+// Creates a WebTouchEvent from |event|.
CONTENT_EXPORT blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
- const ui::MotionEvent& event);
+ const ui::MotionEvent& event, bool causes_scrolling);
-// Creates a WebGestureEvent from |event|, scaling all size components from
-// |event| by |scale|.
+// Creates a WebGestureEvent from |event|.
CONTENT_EXPORT blink::WebGestureEvent CreateWebGestureEventFromGestureEventData(
const ui::GestureEventData& data);

Powered by Google App Engine
This is Rietveld 408576698