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

Unified Diff: ios/web/web_state/web_controller_observer_bridge.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
Index: ios/web/web_state/web_controller_observer_bridge.h
diff --git a/ios/web/web_state/web_controller_observer_bridge.h b/ios/web/web_state/web_controller_observer_bridge.h
index 1602c7745e79046a043c0b7c5f067d7751765cc0..2e3ef42e92cf2afc27e7cafe44b555a920b17131 100644
--- a/ios/web/web_state/web_controller_observer_bridge.h
+++ b/ios/web/web_state/web_controller_observer_bridge.h
@@ -5,19 +5,12 @@
#ifndef IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_
#define IOS_WEB_WEB_STATE_WEB_CONTROLLER_OBSERVER_BRIDGE_H_
-#include <string>
-
#import "base/ios/weak_nsobject.h"
#include "base/macros.h"
#include "ios/web/public/web_state/web_state_observer.h"
@class CRWWebController;
@protocol CRWWebControllerObserver;
-class GURL;
-
-namespace base {
-class DictionaryValue;
-}
namespace web {
@@ -49,14 +42,8 @@ class WebControllerObserverBridge : public WebStateObserver {
// WebStateObserver implementation.
void PageLoaded(PageLoadCompletionStatus load_completion_status) override;
- // Callback for script commands.
- bool ScriptCommandReceived(const base::DictionaryValue& value,
- const GURL& url,
- bool user_is_interacting);
-
base::WeakNSProtocol<id<CRWWebControllerObserver>> web_controller_observer_;
base::WeakNSObject<CRWWebController> web_controller_;
- std::string script_command_callback_prefix_;
DISALLOW_COPY_AND_ASSIGN(WebControllerObserverBridge);
};
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller_unittest.mm ('k') | ios/web/web_state/web_controller_observer_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698