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

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

Issue 2741413007: Refactoring Reload in NavigationManager and CRWWebController. (Closed)
Patch Set: Rebase and Remove DCHECK in |loadWithParams| as it has already been taken care of Created 3 years, 9 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/web_state/ui/crw_web_controller.h ('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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void OnAuthRequired(NSURLProtectionSpace* protection_space, 276 void OnAuthRequired(NSURLProtectionSpace* protection_space,
277 NSURLCredential* proposed_credential, 277 NSURLCredential* proposed_credential,
278 const WebStateDelegate::AuthCallback& callback); 278 const WebStateDelegate::AuthCallback& callback);
279 279
280 // Cancels all dialogs associated with this web_state. 280 // Cancels all dialogs associated with this web_state.
281 void CancelDialogs(); 281 void CancelDialogs();
282 282
283 // NavigationManagerDelegate: 283 // NavigationManagerDelegate:
284 void GoToIndex(int index) override; 284 void GoToIndex(int index) override;
285 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override; 285 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
286 void Reload() override;
286 void OnNavigationItemsPruned(size_t pruned_item_count) override; 287 void OnNavigationItemsPruned(size_t pruned_item_count) override;
287 void OnNavigationItemChanged() override; 288 void OnNavigationItemChanged() override;
288 void OnNavigationItemCommitted( 289 void OnNavigationItemCommitted(
289 const LoadCommittedDetails& load_details) override; 290 const LoadCommittedDetails& load_details) override;
290 291
291 // Updates the HTTP response headers for the main page using the headers 292 // Updates the HTTP response headers for the main page using the headers
292 // passed to the OnHttpResponseHeadersReceived() function below. 293 // passed to the OnHttpResponseHeadersReceived() function below.
293 // GetHttpResponseHeaders() can be used to get the headers. 294 // GetHttpResponseHeaders() can be used to get the headers.
294 void UpdateHttpResponseHeaders(const GURL& url); 295 void UpdateHttpResponseHeaders(const GURL& url);
295 296
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 371
371 // Mojo interface registry for this WebState. 372 // Mojo interface registry for this WebState.
372 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; 373 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
373 374
374 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 375 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
375 }; 376 };
376 377
377 } // namespace web 378 } // namespace web
378 379
379 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 380 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698