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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // content::WebContentsObserver overrides | 350 // content::WebContentsObserver overrides |
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 CanShowInterstitial() override; |
| 361 int GetErrorUiType() override; |
361 | 362 |
362 void CallProceedOnInterstitialForTesting( | 363 void CallProceedOnInterstitialForTesting( |
363 JNIEnv* env, | 364 JNIEnv* env, |
364 const base::android::JavaParamRef<jobject>& obj); | 365 const base::android::JavaParamRef<jobject>& obj); |
365 void CallDontProceedOnInterstitialForTesting( | 366 void CallDontProceedOnInterstitialForTesting( |
366 JNIEnv* env, | 367 JNIEnv* env, |
367 const base::android::JavaParamRef<jobject>& obj); | 368 const base::android::JavaParamRef<jobject>& obj); |
368 | 369 |
369 // AwRenderProcessGoneDelegate overrides | 370 // AwRenderProcessGoneDelegate overrides |
370 void OnRenderProcessGone(int child_process_id) override; | 371 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_; | 414 bool renderer_priority_waived_when_not_visible_; |
414 | 415 |
415 DISALLOW_COPY_AND_ASSIGN(AwContents); | 416 DISALLOW_COPY_AND_ASSIGN(AwContents); |
416 }; | 417 }; |
417 | 418 |
418 bool RegisterAwContents(JNIEnv* env); | 419 bool RegisterAwContents(JNIEnv* env); |
419 | 420 |
420 } // namespace android_webview | 421 } // namespace android_webview |
421 | 422 |
422 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ | 423 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_ |
OLD | NEW |