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

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

Issue 1107083002: Upstream more leaf files in ios/web/web_state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-resync
Patch Set: Created 5 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/web_state/credential.h ('k') | ios/web/public/web_state/crw_web_view_scroll_view_proxy.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 4cb14d41688d9199632d95fb1b0261e8fb315b48..7d6a2541d98a798067f1323aafbd4e8a09ee8358 100644
--- a/ios/web/public/web_state/crw_web_controller_observer.h
+++ b/ios/web/public/web_state/crw_web_controller_observer.h
@@ -9,7 +9,7 @@
#include <string>
@class CRWWebController;
-@class CRWWebViewProxy;
+@protocol CRWWebViewProxy;
class GURL;
@class UIWebView;
@@ -33,38 +33,6 @@ class DictionaryValue;
// DEPRECATED: Use WebStateObserver instead.
- (void)pageLoaded:(CRWWebController*)webController;
-// Called when a form is being submitted.
-- (void)documentSubmit:(CRWWebController*)webController
- formName:(const std::string&)formName
- userInteraction:(BOOL)userInteraction;
-
-// Called when the user is typing on a form field, with |error| indicating if
-// there is any error when parsing the form field information. Currently these
-// events will not be sent if the Disable Autofill experiment is set.
-- (void)formActivity:(CRWWebController*)webController
- formName:(const std::string&)formName
- fieldName:(const std::string&)fieldName
- type:(const std::string&)type
- value:(const std::string&)value
- error:(bool)error;
-
-// Identical to |formActivity:formName:fieldName:type:value:error:|, but
-// indicates that the activity was triggered by typing the key specified by
-// |keyCode|.
-- (void)formActivity:(CRWWebController*)webController
- formName:(const std::string&)formName
- fieldName:(const std::string&)fieldName
- type:(const std::string&)type
- value:(const std::string&)value
- keyCode:(int)keyCode
- error:(bool)error;
-
-// The page requested autocomplete.
-- (void)requestAutocomplete:(CRWWebController*)webController
- sourceURL:(const GURL&)sourceURL
- formName:(const std::string&)formName
- userInteraction:(BOOL)userInteraction;
-
// Called when the web controller is about to close.
- (void)webControllerWillClose:(CRWWebController*)webController;
@@ -77,7 +45,7 @@ class DictionaryValue;
originURL:(const GURL&)originURL;
// Gives CRWWebControllerObservers access to the CRWWebViewProxy.
-- (void)setWebViewProxy:(CRWWebViewProxy*)webView
+- (void)setWebViewProxy:(id<CRWWebViewProxy>)webView
controller:(CRWWebController*)webController;
@end
« no previous file with comments | « ios/web/public/web_state/credential.h ('k') | ios/web/public/web_state/crw_web_view_scroll_view_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698