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