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

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

Issue 2741413007: Refactoring Reload in NavigationManager and CRWWebController. (Closed)
Patch Set: fixed more check_for_repost errors 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
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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 void OnAuthRequired(NSURLProtectionSpace* protection_space, 270 void OnAuthRequired(NSURLProtectionSpace* protection_space,
271 NSURLCredential* proposed_credential, 271 NSURLCredential* proposed_credential,
272 const WebStateDelegate::AuthCallback& callback); 272 const WebStateDelegate::AuthCallback& callback);
273 273
274 // Cancels all dialogs associated with this web_state. 274 // Cancels all dialogs associated with this web_state.
275 void CancelDialogs(); 275 void CancelDialogs();
276 276
277 // NavigationManagerDelegate: 277 // NavigationManagerDelegate:
278 void GoToIndex(int index) override; 278 void GoToIndex(int index) override;
279 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override; 279 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
280 void Reload() override;
280 void OnNavigationItemsPruned(size_t pruned_item_count) override; 281 void OnNavigationItemsPruned(size_t pruned_item_count) override;
281 void OnNavigationItemChanged() override; 282 void OnNavigationItemChanged() override;
282 void OnNavigationItemCommitted( 283 void OnNavigationItemCommitted(
283 const LoadCommittedDetails& load_details) override; 284 const LoadCommittedDetails& load_details) override;
284 285
285 // Updates the HTTP response headers for the main page using the headers 286 // Updates the HTTP response headers for the main page using the headers
286 // passed to the OnHttpResponseHeadersReceived() function below. 287 // passed to the OnHttpResponseHeadersReceived() function below.
287 // GetHttpResponseHeaders() can be used to get the headers. 288 // GetHttpResponseHeaders() can be used to get the headers.
288 void UpdateHttpResponseHeaders(const GURL& url); 289 void UpdateHttpResponseHeaders(const GURL& url);
289 290
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 365
365 // Mojo interface registry for this WebState. 366 // Mojo interface registry for this WebState.
366 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; 367 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
367 368
368 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 369 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
369 }; 370 };
370 371
371 } // namespace web 372 } // namespace web
372 373
373 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 374 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698