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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
| 97 // Called when a dialog or child window open request was suppressed. |
| 98 void OnDialogSuppressed(); |
| 99 |
97 // Notifies the observers that the render process was terminated. | 100 // Notifies the observers that the render process was terminated. |
98 void OnRenderProcessGone(); | 101 void OnRenderProcessGone(); |
99 | 102 |
100 // Called when a script command is received. | 103 // Called when a script command is received. |
101 // Returns true if the command was handled. | 104 // Returns true if the command was handled. |
102 bool OnScriptCommandReceived(const std::string& command, | 105 bool OnScriptCommandReceived(const std::string& command, |
103 const base::DictionaryValue& value, | 106 const base::DictionaryValue& value, |
104 const GURL& url, | 107 const GURL& url, |
105 bool user_is_interacting); | 108 bool user_is_interacting); |
106 | 109 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 370 |
368 // Mojo interface registry for this WebState. | 371 // Mojo interface registry for this WebState. |
369 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; | 372 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; |
370 | 373 |
371 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 374 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
372 }; | 375 }; |
373 | 376 |
374 } // namespace web | 377 } // namespace web |
375 | 378 |
376 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 379 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
OLD | NEW |