| Index: ios/web/public/web_state/crw_web_controller_observer.h
|
| diff --git a/ios/web/public/web_state/crw_web_controller_observer.h b/ios/web/public/web_state/crw_web_controller_observer.h
|
| index 7d6a2541d98a798067f1323aafbd4e8a09ee8358..407202eaa5a41e03f5ed57af1a6c8c18beffab82 100644
|
| --- a/ios/web/public/web_state/crw_web_controller_observer.h
|
| +++ b/ios/web/public/web_state/crw_web_controller_observer.h
|
| @@ -6,16 +6,9 @@
|
| #define IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_CONTROLLER_OBSERVER_H_
|
|
|
| #import <Foundation/Foundation.h>
|
| -#include <string>
|
|
|
| @class CRWWebController;
|
| @protocol CRWWebViewProxy;
|
| -class GURL;
|
| -@class UIWebView;
|
| -
|
| -namespace base {
|
| -class DictionaryValue;
|
| -}
|
|
|
| // NOTE: When adding new methods to CRWWebControllerObserver, consider adding
|
| // them to WebStateObserver instead if they need to be surfaced to the public
|
| @@ -24,11 +17,6 @@ class DictionaryValue;
|
|
|
| @optional
|
|
|
| -// Supplies a text prefix to the CRWWebController to indicate which commands the
|
| -// observer should receive using the handleCommand message.
|
| -// Called only as the observer is added to its parent CRWWebController.
|
| -@property(nonatomic, readonly) NSString* commandPrefix;
|
| -
|
| // Called when the current page is loaded.
|
| // DEPRECATED: Use WebStateObserver instead.
|
| - (void)pageLoaded:(CRWWebController*)webController;
|
| @@ -36,14 +24,6 @@ class DictionaryValue;
|
| // Called when the web controller is about to close.
|
| - (void)webControllerWillClose:(CRWWebController*)webController;
|
|
|
| -// Handle the command from page scripts. Return NO if the command was known to
|
| -// be invalid. This will cause the page to be reset as a security precaution.
|
| -// DEPRECATED: Use WebState::ScriptCommandCallback instead.
|
| -- (BOOL)handleCommand:(const base::DictionaryValue&)command
|
| - webController:(CRWWebController*)webController
|
| - userIsInteracting:(BOOL)userIsInteracting
|
| - originURL:(const GURL&)originURL;
|
| -
|
| // Gives CRWWebControllerObservers access to the CRWWebViewProxy.
|
| - (void)setWebViewProxy:(id<CRWWebViewProxy>)webView
|
| controller:(CRWWebController*)webController;
|
|
|