| 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 de9f0a00644804ba1a467c96fb3ff994e0f2b323..cd8d6830d22363daf0e4f4734bc507cb05e61b4f 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.
|
|
|