| OLD | NEW |
| 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 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 void CancelProtectedMediaIdentifierPermissionRequests( | 231 void CancelProtectedMediaIdentifierPermissionRequests( |
| 232 const GURL& origin) override; | 232 const GURL& origin) override; |
| 233 void RequestGeolocationPermission( | 233 void RequestGeolocationPermission( |
| 234 const GURL& origin, | 234 const GURL& origin, |
| 235 const base::Callback<void(bool)>& callback) override; | 235 const base::Callback<void(bool)>& callback) override; |
| 236 void CancelGeolocationPermissionRequests(const GURL& origin) override; | 236 void CancelGeolocationPermissionRequests(const GURL& origin) override; |
| 237 void RequestMIDISysexPermission( | 237 void RequestMIDISysexPermission( |
| 238 const GURL& origin, | 238 const GURL& origin, |
| 239 const base::Callback<void(bool)>& callback) override; | 239 const base::Callback<void(bool)>& callback) override; |
| 240 void CancelMIDISysexPermissionRequests(const GURL& origin) override; | 240 void CancelMIDISysexPermissionRequests(const GURL& origin) override; |
| 241 | |
| 242 // Find-in-page API and related methods. | 241 // Find-in-page API and related methods. |
| 243 void FindAllAsync(JNIEnv* env, | 242 void FindAllAsync(JNIEnv* env, |
| 244 const base::android::JavaParamRef<jobject>& obj, | 243 const base::android::JavaParamRef<jobject>& obj, |
| 245 const base::android::JavaParamRef<jstring>& search_string); | 244 const base::android::JavaParamRef<jstring>& search_string); |
| 246 void FindNext(JNIEnv* env, | 245 void FindNext(JNIEnv* env, |
| 247 const base::android::JavaParamRef<jobject>& obj, | 246 const base::android::JavaParamRef<jobject>& obj, |
| 248 jboolean forward); | 247 jboolean forward); |
| 249 void ClearMatches(JNIEnv* env, | 248 void ClearMatches(JNIEnv* env, |
| 250 const base::android::JavaParamRef<jobject>& obj); | 249 const base::android::JavaParamRef<jobject>& obj); |
| 251 FindHelper* GetFindHelper(); | 250 FindHelper* GetFindHelper(); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 GLViewRendererManager::Key renderer_manager_key_; | 370 GLViewRendererManager::Key renderer_manager_key_; |
| 372 | 371 |
| 373 DISALLOW_COPY_AND_ASSIGN(AwContents); | 372 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 374 }; | 373 }; |
| 375 | 374 |
| 376 bool RegisterAwContents(JNIEnv* env); | 375 bool RegisterAwContents(JNIEnv* env); |
| 377 | 376 |
| 378 } // namespace android_webview | 377 } // namespace android_webview |
| 379 | 378 |
| 380 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 379 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |