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

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

Issue 2879413002: Pass NavigationContext to WebStateImpl::OnNavigationStarted. (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
« 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Constructor for WebStateImpls created for new sessions. 66 // Constructor for WebStateImpls created for new sessions.
67 WebStateImpl(const CreateParams& params); 67 WebStateImpl(const CreateParams& params);
68 // Constructor for WebStatesImpls created for deserialized sessions 68 // Constructor for WebStatesImpls created for deserialized sessions
69 WebStateImpl(const CreateParams& params, CRWSessionStorage* session_storage); 69 WebStateImpl(const CreateParams& params, CRWSessionStorage* session_storage);
70 ~WebStateImpl() override; 70 ~WebStateImpl() override;
71 71
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 navigation has started.
77 void OnProvisionalNavigationStarted(const GURL& url); 77 void OnNavigationStarted(web::NavigationContext* context);
78 78
79 // Called when a navigation is finished. 79 // Notifies the observers that a navigation has finished.
80 void OnNavigationFinished(web::NavigationContext* context); 80 void OnNavigationFinished(web::NavigationContext* context);
81 81
82 // Called when page title was changed. 82 // Called when page title was changed.
83 void OnTitleChanged(); 83 void OnTitleChanged();
84 84
85 // Called when the visible security state of the page changes. 85 // Called when the visible security state of the page changes.
86 void OnVisibleSecurityStateChange(); 86 void OnVisibleSecurityStateChange();
87 87
88 // Called when a dialog or child window open request was suppressed. 88 // Called when a dialog or child window open request was suppressed.
89 void OnDialogSuppressed(); 89 void OnDialogSuppressed();
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 // Mojo interface registry for this WebState. 349 // Mojo interface registry for this WebState.
350 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_; 350 std::unique_ptr<WebStateInterfaceProvider> web_state_interface_provider_;
351 351
352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); 352 DISALLOW_COPY_AND_ASSIGN(WebStateImpl);
353 }; 353 };
354 354
355 } // namespace web 355 } // namespace web
356 356
357 #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