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

Unified Diff: content/public/browser/interstitial_page.cc

Issue 45453002: Remove remaining WebContentsImpl from InterstitialPageImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed GetWebkitPrefs and rebased on ToT. Created 7 years, 2 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
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/interstitial_page.cc
diff --git a/content/public/browser/interstitial_page.cc b/content/public/browser/interstitial_page.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b77af33eadf660ae92804566ef8045b0aae830a5
--- /dev/null
+++ b/content/public/browser/interstitial_page.cc
@@ -0,0 +1,23 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/browser/interstitial_page.h"
+
+#include "content/browser/web_contents/interstitial_page_impl.h"
+#include "content/browser/web_contents/web_contents_impl.h"
+
+namespace content {
+
+InterstitialPage* InterstitialPage::Create(WebContents* web_contents,
+ bool new_navigation,
+ const GURL& url,
+ InterstitialPageDelegate* delegate) {
+ return new InterstitialPageImpl(
+ web_contents,
+ static_cast<RenderWidgetHostDelegate*>(
+ static_cast<WebContentsImpl*>(web_contents)),
+ new_navigation, url, delegate);
+}
+
+} // namespace content
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698