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

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

Issue 2698413004: Implemented WebStateObserver::DidFinishNavigation(NavigationHandle*). (Closed)
Patch Set: Addressed review comments Created 3 years, 10 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.mm ('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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 the URL hash of the current page changed. 85 // Notifies the observers that the URL hash of the current page changed.
86 void OnUrlHashChanged(); 86 void OnUrlHashChanged();
87 87
88 // Notifies the observers that the history state of the current page changed. 88 // Notifies the observers that the history state of the current page changed.
89 void OnHistoryStateChanged(); 89 void OnHistoryStateChanged();
90 90
91 // Notifies the observers that same page navigation did finish.
92 void OnSamePageNavigation(const GURL& url);
93
94 // Notifies the observers that navigation to error page did finish.
95 void OnErrorPageNavigation(const GURL& url);
96
91 // Notifies the observers that the render process was terminated. 97 // Notifies the observers that the render process was terminated.
92 void OnRenderProcessGone(); 98 void OnRenderProcessGone();
93 99
94 // Called when a script command is received. 100 // Called when a script command is received.
95 // Returns true if the command was handled. 101 // Returns true if the command was handled.
96 bool OnScriptCommandReceived(const std::string& command, 102 bool OnScriptCommandReceived(const std::string& command,
97 const base::DictionaryValue& value, 103 const base::DictionaryValue& value,
98 const GURL& url, 104 const GURL& url,
99 bool user_is_interacting); 105 bool user_is_interacting);
100 106
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 354
349 // Mojo interface registry for this WebState. 355 // Mojo interface registry for this WebState.
350 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; 356 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
351 357
352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 358 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
353 }; 359 };
354 360
355 } // namespace web 361 } // namespace web
356 362
357 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 363 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698