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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 2954503003: Don't show current RenderWidgetHostView while interstitial is showing. (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 90e4de3815895910f0db1c9d41d0b4cf0672f708..60dce63f16d340a4aee2ea5694a75829685f0ce7 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -544,6 +544,11 @@ const std::string& InterstitialPageImpl::GetUserAgentOverride() const {
return base::EmptyString();
}
+bool InterstitialPageImpl::ShowingInterstitialPage() const {
+ // An interstitial page never shows a second interstitial.
+ return false;
+}
+
RendererPreferences InterstitialPageImpl::GetRendererPrefs(
BrowserContext* browser_context) const {
delegate_->OverrideRendererPrefs(&renderer_preferences_);
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/frame_host/interstitial_page_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698