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

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

Issue 2845913003: Cleaned up unused methods from WebStateImpl and NavigationContextImpl. (Closed)
Patch Set: Fixed tests Created 3 years, 7 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Gets/Sets the CRWWebController that backs this object. 72 // Gets/Sets the CRWWebController that backs this object.
73 CRWWebController* GetWebController(); 73 CRWWebController* GetWebController();
74 void SetWebController(CRWWebController* web_controller); 74 void SetWebController(CRWWebController* web_controller);
75 75
76 // Notifies the observers that a provisional navigation has started. 76 // Notifies the observers that a provisional navigation has started.
77 void OnProvisionalNavigationStarted(const GURL& url); 77 void OnProvisionalNavigationStarted(const GURL& url);
78 78
79 // Called when a navigation is finished. 79 // Called when a navigation is finished.
80 void OnNavigationFinished(web::NavigationContext* context); 80 void OnNavigationFinished(web::NavigationContext* context);
81 81
82 // Called when a navigation is committed.
83 void OnNavigationCommitted(const GURL& url);
84
85 // Notifies the observers that same page navigation did finish.
86 void OnSameDocumentNavigation(const GURL& url);
87
88 // Notifies the observers that navigation to error page did finish.
89 void OnErrorPageNavigation(const GURL& url);
90
91 // Called when page title was changed. 82 // Called when page title was changed.
92 void OnTitleChanged(); 83 void OnTitleChanged();
93 84
94 // Called when the visible security state of the page changes. 85 // Called when the visible security state of the page changes.
95 void OnVisibleSecurityStateChange(); 86 void OnVisibleSecurityStateChange();
96 87
97 // Called when a dialog or child window open request was suppressed. 88 // Called when a dialog or child window open request was suppressed.
98 void OnDialogSuppressed(); 89 void OnDialogSuppressed();
99 90
100 // Notifies the observers that the render process was terminated. 91 // Notifies the observers that the render process was terminated.
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 348
358 // Mojo interface registry for this WebState. 349 // Mojo interface registry for this WebState.
359 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_; 350 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_;
360 351
361 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
362 }; 353 };
363 354
364 } // namespace web 355 } // namespace web
365 356
366 #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_wk_navigation_states_unittest.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