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 base::android::ScopedJavaLocalRef<jobject> GetViewRoot(JNIEnv* env, | |
337 const base::android::JavaParamRef<jobject>& obj); | |
338 | |
339 // content::WebContentsObserver overrides | 336 // content::WebContentsObserver overrides |
340 void RenderViewHostChanged(content::RenderViewHost* old_host, | 337 void RenderViewHostChanged(content::RenderViewHost* old_host, |
341 content::RenderViewHost* new_host) override; | 338 content::RenderViewHost* new_host) override; |
342 void DidAttachInterstitialPage() override; | 339 void DidAttachInterstitialPage() override; |
343 void DidDetachInterstitialPage() override; | 340 void DidDetachInterstitialPage() override; |
344 | 341 |
345 private: | 342 private: |
346 void InitAutofillIfNecessary(bool enabled); | 343 void InitAutofillIfNecessary(bool enabled); |
347 | 344 |
348 // Geolocation API support | 345 // Geolocation API support |
(...skipping 27 matching lines...) Expand all Loading... |
376 GLViewRendererManager::Key renderer_manager_key_; | 373 GLViewRendererManager::Key renderer_manager_key_; |
377 | 374 |
378 DISALLOW_COPY_AND_ASSIGN(AwContents); | 375 DISALLOW_COPY_AND_ASSIGN(AwContents); |
379 }; | 376 }; |
380 | 377 |
381 bool RegisterAwContents(JNIEnv* env); | 378 bool RegisterAwContents(JNIEnv* env); |
382 | 379 |
383 } // namespace android_webview | 380 } // namespace android_webview |
384 | 381 |
385 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 382 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
OLD | NEW |