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

Unified Diff: ios/web/public/web_state/web_state_observer_bridge.h

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/public/web_state/web_state_observer_bridge.h
diff --git a/ios/web/public/web_state/web_state_observer_bridge.h b/ios/web/public/web_state/web_state_observer_bridge.h
index 9ee95c4c4241622aae80f5b9223a58af76c89d0b..0eeeae4ee34e5ca20f0f94c52d977bf888663f4e 100644
--- a/ios/web/public/web_state/web_state_observer_bridge.h
+++ b/ios/web/public/web_state/web_state_observer_bridge.h
@@ -45,6 +45,9 @@ class GURL;
- (void)webState:(web::WebState*)webState
didChangeLoadingProgress:(double)progress;
+// Invoked by WebStateObserverBridge::TitleWasSet.
+- (void)webStateDidChangeTitle:(web::WebState*)webState;
+
// Invoked by WebStateObserverBridge::DocumentSubmitted.
- (void)webState:(web::WebState*)webState
didSubmitDocumentWithFormNamed:(const std::string&)formName
@@ -103,6 +106,7 @@ class WebStateObserverBridge : public web::WebStateObserver {
void UrlHashChanged() override;
void HistoryStateChanged() override;
void LoadProgressChanged(double progress) override;
+ void TitleWasSet() override;
void DocumentSubmitted(const std::string& form_name,
bool user_initiated) override;
void FormActivityRegistered(const std::string& form_name,

Powered by Google App Engine
This is Rietveld 408576698