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

Unified Diff: ui/events/blink/blink_event_util.h

Issue 2036873002: Making EventSender talk to the right WebWidget (for OOPIF support). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 2 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: ui/events/blink/blink_event_util.h
diff --git a/ui/events/blink/blink_event_util.h b/ui/events/blink/blink_event_util.h
index aa12f9d1dd9132985e7ecf6aeab5964efb5205ae..dc488544d1bab73954c601a6a1c469c954366a01 100644
--- a/ui/events/blink/blink_event_util.h
+++ b/ui/events/blink/blink_event_util.h
@@ -51,6 +51,12 @@ std::unique_ptr<blink::WebInputEvent> ScaleWebInputEvent(
const blink::WebInputEvent& event,
float scale);
+std::unique_ptr<blink::WebInputEvent> TranslateAndScaleWebInputEvent(
+ const blink::WebInputEvent& event,
+ int delta_x,
+ int delta_y,
+ float scale);
+
blink::WebPointerProperties::PointerType ToWebPointerType(
MotionEvent::ToolType tool_type);

Powered by Google App Engine
This is Rietveld 408576698