| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |