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

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

Issue 2567303003: [ios] Removed unused CRWWebControllerObserver methods. (Closed)
Patch Set: Self review Created 4 years 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/BUILD.gn ('k') | ios/web/test/crw_fake_web_controller_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/test/crw_fake_web_controller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698