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

Unified Diff: ios/web/web_state/web_state_impl.mm

Issue 2710913006: Removed -[CRWWebDelegate webController:titleDidChange:]. (Closed)
Patch Set: iOS9 fix Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/web_state_impl.mm
diff --git a/ios/web/web_state/web_state_impl.mm b/ios/web/web_state/web_state_impl.mm
index 2a3034f272f460e3f7c54d19262ff7e67add73d9..791838dc0fe147132b9a545e64e6bfb32c409ac0 100644
--- a/ios/web/web_state/web_state_impl.mm
+++ b/ios/web/web_state/web_state_impl.mm
@@ -217,6 +217,11 @@ void WebStateImpl::OnErrorPageNavigation(const GURL& url) {
observer.DidFinishNavigation(context.get());
}
+void WebStateImpl::OnTitleChanged() {
+ for (auto& observer : observers_)
+ observer.TitleWasSet();
+}
+
void WebStateImpl::OnRenderProcessGone() {
for (auto& observer : observers_)
observer.RenderProcessGone();

Powered by Google App Engine
This is Rietveld 408576698