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

Side by Side Diff: ios/web/interstitials/web_interstitial_impl.mm

Issue 1836793002: [ios] Moved WebLoadParams inside NavigationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « ios/web/BUILD.gn ('k') | ios/web/ios_web.gyp » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "ios/web/interstitials/web_interstitial_impl.h" 5 #import "ios/web/interstitials/web_interstitial_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ios/web/interstitials/web_interstitial_facade_delegate.h" 8 #include "ios/web/interstitials/web_interstitial_facade_delegate.h"
9 #include "ios/web/navigation/crw_session_controller.h" 9 #include "ios/web/navigation/crw_session_controller.h"
10 #include "ios/web/navigation/navigation_manager_impl.h" 10 #include "ios/web/navigation/navigation_manager_impl.h"
11 #include "ios/web/public/interstitials/web_interstitial_delegate.h" 11 #include "ios/web/public/interstitials/web_interstitial_delegate.h"
12 #include "ios/web/public/navigation_manager.h" 12 #import "ios/web/public/navigation_manager.h"
13 #include "ios/web/web_state/web_state_impl.h" 13 #include "ios/web/web_state/web_state_impl.h"
14 14
15 namespace web { 15 namespace web {
16 16
17 // static 17 // static
18 WebInterstitial* WebInterstitial::GetWebInterstitial(web::WebState* web_state) { 18 WebInterstitial* WebInterstitial::GetWebInterstitial(web::WebState* web_state) {
19 return web_state->GetWebInterstitial(); 19 return web_state->GetWebInterstitial();
20 } 20 }
21 21
22 WebInterstitialImpl::WebInterstitialImpl(WebStateImpl* web_state, 22 WebInterstitialImpl::WebInterstitialImpl(WebStateImpl* web_state,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 void WebInterstitialImpl::WebStateDestroyed() { 97 void WebInterstitialImpl::WebStateDestroyed() {
98 DontProceed(); 98 DontProceed();
99 } 99 }
100 100
101 WebStateImpl* WebInterstitialImpl::GetWebStateImpl() const { 101 WebStateImpl* WebInterstitialImpl::GetWebStateImpl() const {
102 return static_cast<web::WebStateImpl*>(web_state()); 102 return static_cast<web::WebStateImpl*>(web_state());
103 } 103 }
104 104
105 } // namespace web 105 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/ios_web.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698