OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/public/browser/interstitial_page.h" |
| 6 |
| 7 #include "content/browser/web_contents/interstitial_page_impl.h" |
| 8 #include "content/browser/web_contents/web_contents_impl.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 InterstitialPage* InterstitialPage::Create(WebContents* web_contents, |
| 13 bool new_navigation, |
| 14 const GURL& url, |
| 15 InterstitialPageDelegate* delegate) { |
| 16 return new InterstitialPageImpl( |
| 17 web_contents, |
| 18 static_cast<RenderWidgetHostDelegate*>( |
| 19 static_cast<WebContentsImpl*>(web_contents)), |
| 20 new_navigation, url, delegate); |
| 21 } |
| 22 |
| 23 } // namespace content |
OLD | NEW |