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

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

Issue 342633003: [Android] Select text when stylus first button is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
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 4143a1cbce4ebff2b8d29930ee458a3bb8bf9afc..591613029771ed5907e3a1ccf9fe8f60876c7190 100644
--- a/content/browser/renderer_host/input/web_input_event_util.h
+++ b/content/browser/renderer_host/input/web_input_event_util.h
@@ -27,6 +27,11 @@ CONTENT_EXPORT void UpdateWindowsKeyCodeAndKeyIdentifier(
CONTENT_EXPORT blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
const ui::MotionEvent& event);
+// Creates a WebMouseEvent from |event|, scaling all size components from
+// |event| by |scale|.
+CONTENT_EXPORT blink::WebMouseEvent CreateWebMouseEventFromMotionEvent(
+ const ui::MotionEvent& event);
+
// Creates a WebGestureEvent from |event|, scaling all size components from
// |event| by |scale|.
CONTENT_EXPORT blink::WebGestureEvent CreateWebGestureEventFromGestureEventData(

Powered by Google App Engine
This is Rietveld 408576698