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

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: Use const ref 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 jobject intercept_navigation_delegate); 90 jobject intercept_navigation_delegate);
91 jlong GetWebContents(JNIEnv* env, jobject obj); 91 jlong GetWebContents(JNIEnv* env, jobject obj);
92 92
93 void Destroy(JNIEnv* env, jobject obj); 93 void Destroy(JNIEnv* env, jobject obj);
94 void DocumentHasImages(JNIEnv* env, jobject obj, jobject message); 94 void DocumentHasImages(JNIEnv* env, jobject obj, jobject message);
95 void GenerateMHTML(JNIEnv* env, jobject obj, jstring jpath, jobject callback); 95 void GenerateMHTML(JNIEnv* env, jobject obj, jstring jpath, jobject callback);
96 void CreatePdfExporter(JNIEnv* env, jobject obj, jobject pdfExporter); 96 void CreatePdfExporter(JNIEnv* env, jobject obj, jobject pdfExporter);
97 void AddVisitedLinks(JNIEnv* env, jobject obj, jobjectArray jvisited_links); 97 void AddVisitedLinks(JNIEnv* env, jobject obj, jobjectArray jvisited_links);
98 base::android::ScopedJavaLocalRef<jbyteArray> GetCertificate( 98 base::android::ScopedJavaLocalRef<jbyteArray> GetCertificate(
99 JNIEnv* env, jobject obj); 99 JNIEnv* env, jobject obj);
100 void RequestNewHitTestDataAt(JNIEnv* env, jobject obj, jint x, jint y); 100 void RequestNewHitTestDataAt(JNIEnv* env,
101 jobject obj,
102 jfloat x,
103 jfloat y,
104 jfloat touch_major);
101 void UpdateLastHitTestData(JNIEnv* env, jobject obj); 105 void UpdateLastHitTestData(JNIEnv* env, jobject obj);
102 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh); 106 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh);
103 void SetViewVisibility(JNIEnv* env, jobject obj, bool visible); 107 void SetViewVisibility(JNIEnv* env, jobject obj, bool visible);
104 void SetWindowVisibility(JNIEnv* env, jobject obj, bool visible); 108 void SetWindowVisibility(JNIEnv* env, jobject obj, bool visible);
105 void SetIsPaused(JNIEnv* env, jobject obj, bool paused); 109 void SetIsPaused(JNIEnv* env, jobject obj, bool paused);
106 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h); 110 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h);
107 void OnDetachedFromWindow(JNIEnv* env, jobject obj); 111 void OnDetachedFromWindow(JNIEnv* env, jobject obj);
108 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState( 112 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState(
109 JNIEnv* env, jobject obj); 113 JNIEnv* env, jobject obj);
110 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state); 114 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 GLViewRendererManager::Key renderer_manager_key_; 251 GLViewRendererManager::Key renderer_manager_key_;
248 252
249 DISALLOW_COPY_AND_ASSIGN(AwContents); 253 DISALLOW_COPY_AND_ASSIGN(AwContents);
250 }; 254 };
251 255
252 bool RegisterAwContents(JNIEnv* env); 256 bool RegisterAwContents(JNIEnv* env);
253 257
254 } // namespace android_webview 258 } // namespace android_webview
255 259
256 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 260 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698