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

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

Issue 2724383003: Removed -[CRWWebDelegate webDidStartLoadingURL:updateHistory:]. (Closed)
Patch Set: Fixed ios_web_unittests 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/web_state_impl.h ('k') | ios/web/web_state/web_state_impl_unittest.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 #import "ios/web/web_state/web_state_impl.h" 5 #import "ios/web/web_state/web_state_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 WebStateFacadeDelegate* WebStateImpl::GetFacadeDelegate() const { 176 WebStateFacadeDelegate* WebStateImpl::GetFacadeDelegate() const {
177 return facade_delegate_; 177 return facade_delegate_;
178 } 178 }
179 179
180 void WebStateImpl::SetFacadeDelegate(WebStateFacadeDelegate* facade_delegate) { 180 void WebStateImpl::SetFacadeDelegate(WebStateFacadeDelegate* facade_delegate) {
181 facade_delegate_ = facade_delegate; 181 facade_delegate_ = facade_delegate;
182 } 182 }
183 183
184 void WebStateImpl::OnNavigationCommitted(const GURL& url) { 184 void WebStateImpl::OnNavigationCommitted(const GURL& url) {
185 UpdateHttpResponseHeaders(url);
186 std::unique_ptr<NavigationContext> context = 185 std::unique_ptr<NavigationContext> context =
187 NavigationContextImpl::CreateNavigationContext(this, url); 186 NavigationContextImpl::CreateNavigationContext(this, url);
188 for (auto& observer : observers_) 187 for (auto& observer : observers_)
189 observer.DidFinishNavigation(context.get()); 188 observer.DidFinishNavigation(context.get());
190 } 189 }
191 190
192 void WebStateImpl::OnSamePageNavigation(const GURL& url) { 191 void WebStateImpl::OnSamePageNavigation(const GURL& url) {
193 std::unique_ptr<NavigationContext> context = 192 std::unique_ptr<NavigationContext> context =
194 NavigationContextImpl::CreateSamePageNavigationContext(this, url); 193 NavigationContextImpl::CreateSamePageNavigationContext(this, url);
195 for (auto& observer : observers_) 194 for (auto& observer : observers_)
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 const LoadCommittedDetails& load_details) { 731 const LoadCommittedDetails& load_details) {
733 for (auto& observer : observers_) 732 for (auto& observer : observers_)
734 observer.NavigationItemCommitted(load_details); 733 observer.NavigationItemCommitted(load_details);
735 } 734 }
736 735
737 WebState* WebStateImpl::GetWebState() { 736 WebState* WebStateImpl::GetWebState() {
738 return this; 737 return this;
739 } 738 }
740 739
741 } // namespace web 740 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/web_state_impl.h ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698