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

Side by Side Diff: ios/web/web_state/web_state_impl.h

Issue 1838323003: [ios] Added NavigationManager::LoadURLWithParams public API. (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/shell/view_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('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 2013 The Chromium Authors. All rights reserved. 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 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 IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 base::WeakPtr<WebState> AsWeakPtr() override; 246 base::WeakPtr<WebState> AsWeakPtr() override;
247 247
248 // Adds |interstitial|'s view to the web controller's content view. 248 // Adds |interstitial|'s view to the web controller's content view.
249 void ShowWebInterstitial(WebInterstitialImpl* interstitial); 249 void ShowWebInterstitial(WebInterstitialImpl* interstitial);
250 250
251 // Called to dismiss the currently-displayed transient content view. 251 // Called to dismiss the currently-displayed transient content view.
252 void ClearTransientContentView(); 252 void ClearTransientContentView();
253 253
254 // NavigationManagerDelegate: 254 // NavigationManagerDelegate:
255 void NavigateToPendingEntry() override; 255 void NavigateToPendingEntry() override;
256 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
256 void OnNavigationItemsPruned(size_t pruned_item_count) override; 257 void OnNavigationItemsPruned(size_t pruned_item_count) override;
257 void OnNavigationItemChanged() override; 258 void OnNavigationItemChanged() override;
258 void OnNavigationItemCommitted( 259 void OnNavigationItemCommitted(
259 const LoadCommittedDetails& load_details) override; 260 const LoadCommittedDetails& load_details) override;
260 WebState* GetWebState() override; 261 WebState* GetWebState() override;
261 262
262 protected: 263 protected:
263 void AddObserver(WebStateObserver* observer) override; 264 void AddObserver(WebStateObserver* observer) override;
264 void RemoveObserver(WebStateObserver* observer) override; 265 void RemoveObserver(WebStateObserver* observer) override;
265 void AddPolicyDecider(WebStatePolicyDecider* decider) override; 266 void AddPolicyDecider(WebStatePolicyDecider* decider) override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // any WeakPtrs to WebStateImpl are invalidated before its member variable's 337 // any WeakPtrs to WebStateImpl are invalidated before its member variable's
337 // destructors are executed, rendering them invalid. 338 // destructors are executed, rendering them invalid.
338 base::WeakPtrFactory<WebState> weak_factory_; 339 base::WeakPtrFactory<WebState> weak_factory_;
339 340
340 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 341 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
341 }; 342 };
342 343
343 } // namespace web 344 } // namespace web
344 345
345 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 346 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/shell/view_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698