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

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

Issue 2711363003: Use DidFinishNavigation callback in LanguageDetectionController. (Closed)
Patch Set: Removed unused method 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
« 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // Gets or sets the delegate used to communicate with the web contents facade. 75 // Gets or sets the delegate used to communicate with the web contents facade.
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 the URL hash of the current page changed.
86 void OnUrlHashChanged();
87
88 // Notifies the observers that the history state of the current page changed.
89 void OnHistoryStateChanged();
90
91 // Notifies the observers that same page navigation did finish. 85 // Notifies the observers that same page navigation did finish.
92 void OnSamePageNavigation(const GURL& url); 86 void OnSamePageNavigation(const GURL& url);
93 87
94 // Notifies the observers that navigation to error page did finish. 88 // Notifies the observers that navigation to error page did finish.
95 void OnErrorPageNavigation(const GURL& url); 89 void OnErrorPageNavigation(const GURL& url);
96 90
97 // Notifies the observers that the render process was terminated. 91 // Notifies the observers that the render process was terminated.
98 void OnRenderProcessGone(); 92 void OnRenderProcessGone();
99 93
100 // Called when a script command is received. 94 // Called when a script command is received.
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 348
355 // Mojo interface registry for this WebState. 349 // Mojo interface registry for this WebState.
356 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_; 350 std::unique_ptr<service_manager::InterfaceRegistry> mojo_interface_registry_;
357 351
358 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
359 }; 353 };
360 354
361 } // namespace web 355 } // namespace web
362 356
363 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ 357 #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