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

Unified Diff: android_webview/native/aw_contents.cc

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/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index fdddf9f23fccfa20e67ca79ada7858264a0ca604..87cfee8a64274e002d15d834adcad1000fca3f3b 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -792,10 +792,15 @@ base::android::ScopedJavaLocalRef<jbyteArray>
reinterpret_cast<const uint8*>(der_string.data()), der_string.length());
}
-void AwContents::RequestNewHitTestDataAt(JNIEnv* env, jobject obj,
- jint x, jint y) {
+void AwContents::RequestNewHitTestDataAt(JNIEnv* env,
+ jobject obj,
+ jint x,
+ jint y,
+ jfloat touch_major_0,
+ jfloat touch_major_1) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- render_view_host_ext_->RequestNewHitTestDataAt(x, y);
+ render_view_host_ext_->RequestNewHitTestDataAt(
+ x, y, touch_major_0, touch_major_1);
}
void AwContents::UpdateLastHitTestData(JNIEnv* env, jobject obj) {

Powered by Google App Engine
This is Rietveld 408576698