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

Unified Diff: android_webview/browser/renderer_host/aw_render_view_host_ext.h

Issue 475633002: Pass TouchMajor to HitTestResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: android_webview/browser/renderer_host/aw_render_view_host_ext.h
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.h b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
index f56d0a68f90c198d3301a82fdf74e3b2354804e7..d9af4e672f9d503f6cbc0c34928e13ee18557f3a 100644
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.h
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
@@ -55,7 +55,10 @@ class AwRenderViewHostExt : public content::WebContentsObserver,
// Do a hit test at the view port coordinates and asynchronously update
// |last_hit_test_data_|. |view_x| and |view_y| are in density independent
// pixels used by blink::WebView.
- void RequestNewHitTestDataAt(int view_x, int view_y);
+ void RequestNewHitTestDataAt(int view_x,
+ int view_y,
+ float touch_major_0,
+ float touch_major_1);
// Optimization to avoid unnecessary Java object creation on hit test.
bool HasNewHitTestData() const;

Powered by Google App Engine
This is Rietveld 408576698