| 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_BROWSER_AW_CONTENTS_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 void RenderViewHostChanged(content::RenderViewHost* old_host, | 351 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 352 content::RenderViewHost* new_host) override; | 352 content::RenderViewHost* new_host) override; |
| 353 void DidAttachInterstitialPage() override; | 353 void DidAttachInterstitialPage() override; |
| 354 void DidDetachInterstitialPage() override; | 354 void DidDetachInterstitialPage() override; |
| 355 | 355 |
| 356 // content::RenderProcessHostObserver overrides | 356 // content::RenderProcessHostObserver overrides |
| 357 void RenderProcessReady(content::RenderProcessHost* host) override; | 357 void RenderProcessReady(content::RenderProcessHost* host) override; |
| 358 | 358 |
| 359 // AwSafeBrowsingUIManager::UIManagerClient implementation | 359 // AwSafeBrowsingUIManager::UIManagerClient implementation |
| 360 bool CanShowBigInterstitial() override; | 360 bool CanShowBigInterstitial() override; |
| 361 bool CanShowInterstitial() override; |
| 362 bool ExtendsOutOfWindow() override; |
| 361 | 363 |
| 362 void CallProceedOnInterstitialForTesting( | 364 void CallProceedOnInterstitialForTesting( |
| 363 JNIEnv* env, | 365 JNIEnv* env, |
| 364 const base::android::JavaParamRef<jobject>& obj); | 366 const base::android::JavaParamRef<jobject>& obj); |
| 365 void CallDontProceedOnInterstitialForTesting( | 367 void CallDontProceedOnInterstitialForTesting( |
| 366 JNIEnv* env, | 368 JNIEnv* env, |
| 367 const base::android::JavaParamRef<jobject>& obj); | 369 const base::android::JavaParamRef<jobject>& obj); |
| 368 | 370 |
| 369 // AwRenderProcessGoneDelegate overrides | 371 // AwRenderProcessGoneDelegate overrides |
| 370 void OnRenderProcessGone(int child_process_id) override; | 372 void OnRenderProcessGone(int child_process_id) override; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 bool renderer_priority_waived_when_not_visible_; | 415 bool renderer_priority_waived_when_not_visible_; |
| 414 | 416 |
| 415 DISALLOW_COPY_AND_ASSIGN(AwContents); | 417 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 416 }; | 418 }; |
| 417 | 419 |
| 418 bool RegisterAwContents(JNIEnv* env); | 420 bool RegisterAwContents(JNIEnv* env); |
| 419 | 421 |
| 420 } // namespace android_webview | 422 } // namespace android_webview |
| 421 | 423 |
| 422 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ | 424 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ |
| OLD | NEW |