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

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: Addressed CR feedback from oshima@. 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,
tdresser 2016/10/06 14:10:37 Should we pass a Point here instead?
Łukasz Anforowicz 2016/10/06 18:03:19 I've ended up using gfx::Vector2d for this.
+ float scale);
+
blink::WebPointerProperties::PointerType ToWebPointerType(
MotionEvent::ToolType tool_type);
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/site-per-process ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698