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

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

Issue 1851003003: [ios] Added web// public API to let embedder observe loading progress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation Created 4 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/test/test_web_state.mm ('k') | ios/web/public/web_state/web_state_delegate.h » ('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.h
diff --git a/ios/web/public/web_state/web_state.h b/ios/web/public/web_state/web_state.h
index 667c8af0f384d3837ab4af90b3472618f333374a..292e778089ba134a536d1e87a6ace0e0b6181548 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -39,6 +39,7 @@ namespace web {
class BrowserState;
class NavigationManager;
class WebInterstitial;
+class WebStateDelegate;
class WebStateObserver;
class WebStatePolicyDecider;
class WebStateWeakPtrFactory;
@@ -84,6 +85,10 @@ class WebState : public base::SupportsUserData {
~WebState() override {}
+ // Gets/Sets the delegate.
+ virtual WebStateDelegate* GetDelegate() = 0;
+ virtual void SetDelegate(WebStateDelegate* delegate) = 0;
+
// The view containing the contents of the current web page. If the view has
// been purged due to low memory, this will recreate it. It is up to the
// caller to size the view.
« no previous file with comments | « ios/web/public/test/test_web_state.mm ('k') | ios/web/public/web_state/web_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698