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

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

Issue 2752013002: Removed webControllerDidUpdateSSLStatusForCurrentNavigationItem:. (Closed)
Patch Set: 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 NavigationContextImpl::CreateErrorPageNavigationContext(this, url); 199 NavigationContextImpl::CreateErrorPageNavigationContext(this, url);
200 for (auto& observer : observers_) 200 for (auto& observer : observers_)
201 observer.DidFinishNavigation(context.get()); 201 observer.DidFinishNavigation(context.get());
202 } 202 }
203 203
204 void WebStateImpl::OnTitleChanged() { 204 void WebStateImpl::OnTitleChanged() {
205 for (auto& observer : observers_) 205 for (auto& observer : observers_)
206 observer.TitleWasSet(); 206 observer.TitleWasSet();
207 } 207 }
208 208
209 void WebStateImpl::OnVisibleSecurityStateChange() {
210 for (auto& observer : observers_)
211 observer.DidChangeVisibleSecurityState();
212 }
213
209 void WebStateImpl::OnRenderProcessGone() { 214 void WebStateImpl::OnRenderProcessGone() {
210 for (auto& observer : observers_) 215 for (auto& observer : observers_)
211 observer.RenderProcessGone(); 216 observer.RenderProcessGone();
212 } 217 }
213 218
214 bool WebStateImpl::OnScriptCommandReceived(const std::string& command, 219 bool WebStateImpl::OnScriptCommandReceived(const std::string& command,
215 const base::DictionaryValue& value, 220 const base::DictionaryValue& value,
216 const GURL& url, 221 const GURL& url,
217 bool user_is_interacting) { 222 bool user_is_interacting) {
218 size_t dot_position = command.find_first_of('.'); 223 size_t dot_position = command.find_first_of('.');
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 const LoadCommittedDetails& load_details) { 751 const LoadCommittedDetails& load_details) {
747 for (auto& observer : observers_) 752 for (auto& observer : observers_)
748 observer.NavigationItemCommitted(load_details); 753 observer.NavigationItemCommitted(load_details);
749 } 754 }
750 755
751 WebState* WebStateImpl::GetWebState() { 756 WebState* WebStateImpl::GetWebState() {
752 return this; 757 return this;
753 } 758 }
754 759
755 } // namespace web 760 } // 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