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