Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1258)

Side by Side Diff: android_webview/browser/aw_contents.h

Issue 2898593002: WebView: choose loud vs. quiet interstitial (Closed)
Patch Set: Rebase, fix merge conflicts Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/BUILD.gn ('k') | android_webview/browser/aw_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « android_webview/BUILD.gn ('k') | android_webview/browser/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698