Chromium Code Reviews| 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 4b6c7eb7ee3c8d262c34034099521cbdc91e30ff..4b4dbe68ffa3366e4e2fbb68e500fd6ee06bf8f9 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,7 @@ 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); |
|
jdduke (slow)
2014/10/28 23:09:14
Could we make this more generic and pass a RectF?
jdduke (slow)
2014/10/29 02:15:17
Actually, if this is WebView only I don't really c
hush (inactive)
2014/10/30 00:25:19
I will pass gfx::RectF like you suggested.
|
| // Optimization to avoid unnecessary Java object creation on hit test. |
| bool HasNewHitTestData() const; |