| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 WebStateFacadeDelegate* GetFacadeDelegate() const; | 76 WebStateFacadeDelegate* GetFacadeDelegate() const; |
| 77 void SetFacadeDelegate(WebStateFacadeDelegate* facade_delegate); | 77 void SetFacadeDelegate(WebStateFacadeDelegate* facade_delegate); |
| 78 | 78 |
| 79 // Notifies the observers that a provisional navigation has started. | 79 // Notifies the observers that a provisional navigation has started. |
| 80 void OnProvisionalNavigationStarted(const GURL& url); | 80 void OnProvisionalNavigationStarted(const GURL& url); |
| 81 | 81 |
| 82 // Called when a navigation is committed. | 82 // Called when a navigation is committed. |
| 83 void OnNavigationCommitted(const GURL& url); | 83 void OnNavigationCommitted(const GURL& url); |
| 84 | 84 |
| 85 // Notifies the observers that same page navigation did finish. | 85 // Notifies the observers that same page navigation did finish. |
| 86 void OnSamePageNavigation(const GURL& url); | 86 void OnSameDocumentNavigation(const GURL& url); |
| 87 | 87 |
| 88 // Notifies the observers that navigation to error page did finish. | 88 // Notifies the observers that navigation to error page did finish. |
| 89 void OnErrorPageNavigation(const GURL& url); | 89 void OnErrorPageNavigation(const GURL& url); |
| 90 | 90 |
| 91 // Called when page title was changed. | 91 // Called when page title was changed. |
| 92 void OnTitleChanged(); | 92 void OnTitleChanged(); |
| 93 | 93 |
| 94 // Called when the visible security state of the page changes. | 94 // Called when the visible security state of the page changes. |
| 95 void OnVisibleSecurityStateChange(); | 95 void OnVisibleSecurityStateChange(); |
| 96 | 96 |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 | 371 |
| 372 // Mojo interface registry for this WebState. | 372 // Mojo interface registry for this WebState. |
| 373 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; | 373 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; |
| 374 | 374 |
| 375 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 375 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
| 376 }; | 376 }; |
| 377 | 377 |
| 378 } // namespace web | 378 } // namespace web |
| 379 | 379 |
| 380 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 380 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
| OLD | NEW |