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

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

Issue 1107083002: Upstream more leaf files in ios/web/web_state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-resync
Patch Set: Created 5 years, 8 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
« no previous file with comments | « ios/web/public/web_state/web_state_observer.h ('k') | ios/web/web_state/credential.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e61bea4418a730d5fd531f25a8f3be39ca06e60a..17b4a9f8275d253cec003adcb50481085b7d243f 100644
--- a/ios/web/public/web_state/web_state_observer_bridge.h
+++ b/ios/web/public/web_state/web_state_observer_bridge.h
@@ -70,6 +70,12 @@ class GURL;
// is no longer valid.
- (void)webStateDestroyed:(web::WebState*)webState;
+// Invoked by WebStateObserverBridge::DidStopLoading.
+- (void)webStateDidStopLoading:(web::WebState*)webState;
+
+// Invoked by WebStateObserverBridge::DidStartLoading.
+- (void)webStateDidStartLoading:(web::WebState*)webState;
+
@end
namespace web {
@@ -108,6 +114,8 @@ class WebStateObserverBridge : public web::WebStateObserver {
bool user_initiated) override;
void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) override;
void WebStateDestroyed() override;
+ void DidStartLoading() override;
+ void DidStopLoading() override;
private:
base::WeakNSProtocol<id<CRWWebStateObserver>> observer_;
« no previous file with comments | « ios/web/public/web_state/web_state_observer.h ('k') | ios/web/web_state/credential.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698