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

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

Issue 181833003: [Android] Out with the Android GR, in with the new unified C++ GR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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_builders_android.h
diff --git a/content/browser/renderer_host/input/web_input_event_builders_android.h b/content/browser/renderer_host/input/web_input_event_builders_android.h
index be9d2a168e91ed356f41321571cf5fe418f8ecac..ddc4a027053f3dd58c856db3646b138ba31d0b58 100644
--- a/content/browser/renderer_host/input/web_input_event_builders_android.h
+++ b/content/browser/renderer_host/input/web_input_event_builders_android.h
@@ -11,6 +11,8 @@
namespace content {
+class MotionEventAndroid;
+
class WebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(blink::WebInputEvent::Type type,
@@ -57,7 +59,8 @@ class WebGestureEventBuilder {
class WebTouchEventBuilder {
public:
- static blink::WebTouchEvent Build(jobject motion_event, float dpi_scale);
+ static blink::WebTouchEvent Build(const MotionEventAndroid& event,
+ float device_scale_factor);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698