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..2594a392ed7db7633b861401ed528c7c10b6408b 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 |
@@ -11,6 +11,7 @@ |
#include "base/callback_forward.h" |
#include "base/threading/non_thread_safe.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/gfx/geometry/rect_f.h" |
#include "ui/gfx/size.h" |
class GURL; |
@@ -53,9 +54,9 @@ class AwRenderViewHostExt : public content::WebContentsObserver, |
void ClearCache(); |
// 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); |
+ // |last_hit_test_data_|. |touch_area.x()| and |touch_are.y()| are in density |
+ // independent pixels used by blink::WebView. |
+ void RequestNewHitTestDataAt(gfx::RectF touch_area); |
// Optimization to avoid unnecessary Java object creation on hit test. |
bool HasNewHitTestData() const; |