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

Side by Side Diff: android_webview/native/aw_contents.h

Issue 475633002: Pass TouchMajor to HitTestResult (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 jobject intercept_navigation_delegate); 91 jobject intercept_navigation_delegate);
92 jlong GetWebContents(JNIEnv* env, jobject obj); 92 jlong GetWebContents(JNIEnv* env, jobject obj);
93 93
94 void Destroy(JNIEnv* env, jobject obj); 94 void Destroy(JNIEnv* env, jobject obj);
95 void DocumentHasImages(JNIEnv* env, jobject obj, jobject message); 95 void DocumentHasImages(JNIEnv* env, jobject obj, jobject message);
96 void GenerateMHTML(JNIEnv* env, jobject obj, jstring jpath, jobject callback); 96 void GenerateMHTML(JNIEnv* env, jobject obj, jstring jpath, jobject callback);
97 void CreatePdfExporter(JNIEnv* env, jobject obj, jobject pdfExporter); 97 void CreatePdfExporter(JNIEnv* env, jobject obj, jobject pdfExporter);
98 void AddVisitedLinks(JNIEnv* env, jobject obj, jobjectArray jvisited_links); 98 void AddVisitedLinks(JNIEnv* env, jobject obj, jobjectArray jvisited_links);
99 base::android::ScopedJavaLocalRef<jbyteArray> GetCertificate( 99 base::android::ScopedJavaLocalRef<jbyteArray> GetCertificate(
100 JNIEnv* env, jobject obj); 100 JNIEnv* env, jobject obj);
101 void RequestNewHitTestDataAt(JNIEnv* env, jobject obj, jint x, jint y); 101 void RequestNewHitTestDataAt(JNIEnv* env,
102 jobject obj,
103 jint x,
104 jint y,
105 jfloat touch_major,
106 jfloat touch_minor);
102 void UpdateLastHitTestData(JNIEnv* env, jobject obj); 107 void UpdateLastHitTestData(JNIEnv* env, jobject obj);
103 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh); 108 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh);
104 void SetViewVisibility(JNIEnv* env, jobject obj, bool visible); 109 void SetViewVisibility(JNIEnv* env, jobject obj, bool visible);
105 void SetWindowVisibility(JNIEnv* env, jobject obj, bool visible); 110 void SetWindowVisibility(JNIEnv* env, jobject obj, bool visible);
106 void SetIsPaused(JNIEnv* env, jobject obj, bool paused); 111 void SetIsPaused(JNIEnv* env, jobject obj, bool paused);
107 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h); 112 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h);
108 void OnDetachedFromWindow(JNIEnv* env, jobject obj); 113 void OnDetachedFromWindow(JNIEnv* env, jobject obj);
109 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState( 114 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState(
110 JNIEnv* env, jobject obj); 115 JNIEnv* env, jobject obj);
111 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state); 116 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 GLViewRendererManager::Key renderer_manager_key_; 265 GLViewRendererManager::Key renderer_manager_key_;
261 266
262 DISALLOW_COPY_AND_ASSIGN(AwContents); 267 DISALLOW_COPY_AND_ASSIGN(AwContents);
263 }; 268 };
264 269
265 bool RegisterAwContents(JNIEnv* env); 270 bool RegisterAwContents(JNIEnv* env);
266 271
267 } // namespace android_webview 272 } // namespace android_webview
268 273
269 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 274 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698