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

Unified Diff: android_webview/common/render_view_messages.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/common/render_view_messages.h
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h
index 0b8f3159fe146e5311c6f619684fb9e52c31d7cb..b9bd8a61e0f06f75047ebefddbf14b37010ee372 100644
--- a/android_webview/common/render_view_messages.h
+++ b/android_webview/common/render_view_messages.h
@@ -48,9 +48,11 @@ IPC_MESSAGE_ROUTED1(AwViewMsg_DocumentHasImages,
// Do hit test at the given webview coordinate. "Webview" coordinates are
// physical pixel values with the 0,0 at the top left of the current displayed
// view (ie 0,0 is not the top left of the page if the page is scrolled).
-IPC_MESSAGE_ROUTED2(AwViewMsg_DoHitTest,
+IPC_MESSAGE_ROUTED4(AwViewMsg_DoHitTest,
int /* view_x */,
- int /* view_y */)
+ int /* view_y */,
+ float /* touch_major_0 */,
+ float /* touch_major_1 */)
// Sets the zoom factor for text only. Used in layout modes other than
// Text Autosizing.

Powered by Google App Engine
This is Rietveld 408576698