| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 const base::android::JavaParamRef<jobjectArray>& ports); | 326 const base::android::JavaParamRef<jobjectArray>& ports); |
| 327 | 327 |
| 328 void GrantFileSchemeAccesstoChildProcess( | 328 void GrantFileSchemeAccesstoChildProcess( |
| 329 JNIEnv* env, | 329 JNIEnv* env, |
| 330 const base::android::JavaParamRef<jobject>& obj); | 330 const base::android::JavaParamRef<jobject>& obj); |
| 331 | 331 |
| 332 void ResumeLoadingCreatedPopupWebContents( | 332 void ResumeLoadingCreatedPopupWebContents( |
| 333 JNIEnv* env, | 333 JNIEnv* env, |
| 334 const base::android::JavaParamRef<jobject>& obj); | 334 const base::android::JavaParamRef<jobject>& obj); |
| 335 | 335 |
| 336 jlong GetNativeView(JNIEnv* env, |
| 337 const base::android::JavaParamRef<jobject>& obj); |
| 338 |
| 336 // content::WebContentsObserver overrides | 339 // content::WebContentsObserver overrides |
| 337 void RenderViewHostChanged(content::RenderViewHost* old_host, | 340 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 338 content::RenderViewHost* new_host) override; | 341 content::RenderViewHost* new_host) override; |
| 339 | 342 |
| 340 private: | 343 private: |
| 341 void InitAutofillIfNecessary(bool enabled); | 344 void InitAutofillIfNecessary(bool enabled); |
| 342 | 345 |
| 343 // Geolocation API support | 346 // Geolocation API support |
| 344 void ShowGeolocationPrompt(const GURL& origin, base::Callback<void(bool)>); | 347 void ShowGeolocationPrompt(const GURL& origin, base::Callback<void(bool)>); |
| 345 void HideGeolocationPrompt(const GURL& origin); | 348 void HideGeolocationPrompt(const GURL& origin); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 371 GLViewRendererManager::Key renderer_manager_key_; | 374 GLViewRendererManager::Key renderer_manager_key_; |
| 372 | 375 |
| 373 DISALLOW_COPY_AND_ASSIGN(AwContents); | 376 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 374 }; | 377 }; |
| 375 | 378 |
| 376 bool RegisterAwContents(JNIEnv* env); | 379 bool RegisterAwContents(JNIEnv* env); |
| 377 | 380 |
| 378 } // namespace android_webview | 381 } // namespace android_webview |
| 379 | 382 |
| 380 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 383 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |