| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 void RenderViewHostChanged(content::RenderViewHost* old_host, | 358 void RenderViewHostChanged(content::RenderViewHost* old_host, |
| 359 content::RenderViewHost* new_host) override; | 359 content::RenderViewHost* new_host) override; |
| 360 void DidAttachInterstitialPage() override; | 360 void DidAttachInterstitialPage() override; |
| 361 void DidDetachInterstitialPage() override; | 361 void DidDetachInterstitialPage() override; |
| 362 | 362 |
| 363 // content::RenderProcessHostObserver overrides | 363 // content::RenderProcessHostObserver overrides |
| 364 void RenderProcessReady(content::RenderProcessHost* host) override; | 364 void RenderProcessReady(content::RenderProcessHost* host) override; |
| 365 | 365 |
| 366 // AwSafeBrowsingUIManager::UIManagerClient implementation | 366 // AwSafeBrowsingUIManager::UIManagerClient implementation |
| 367 bool CanShowInterstitial() override; | 367 bool CanShowInterstitial() override; |
| 368 bool CanShowBigInterstitial() override; |
| 368 | 369 |
| 369 void CallProceedOnInterstitialForTesting( | 370 void CallProceedOnInterstitialForTesting( |
| 370 JNIEnv* env, | 371 JNIEnv* env, |
| 371 const base::android::JavaParamRef<jobject>& obj); | 372 const base::android::JavaParamRef<jobject>& obj); |
| 372 void CallDontProceedOnInterstitialForTesting( | 373 void CallDontProceedOnInterstitialForTesting( |
| 373 JNIEnv* env, | 374 JNIEnv* env, |
| 374 const base::android::JavaParamRef<jobject>& obj); | 375 const base::android::JavaParamRef<jobject>& obj); |
| 375 | 376 |
| 376 // AwRenderProcessGoneDelegate overrides | 377 // AwRenderProcessGoneDelegate overrides |
| 377 void OnRenderProcessGone(int child_process_id) override; | 378 void OnRenderProcessGone(int child_process_id) override; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 bool renderer_priority_waived_when_not_visible_; | 421 bool renderer_priority_waived_when_not_visible_; |
| 421 | 422 |
| 422 DISALLOW_COPY_AND_ASSIGN(AwContents); | 423 DISALLOW_COPY_AND_ASSIGN(AwContents); |
| 423 }; | 424 }; |
| 424 | 425 |
| 425 bool RegisterAwContents(JNIEnv* env); | 426 bool RegisterAwContents(JNIEnv* env); |
| 426 | 427 |
| 427 } // namespace android_webview | 428 } // namespace android_webview |
| 428 | 429 |
| 429 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ | 430 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ |
| OLD | NEW |