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

Side by Side Diff: ios/web/web_state/ui/crw_web_controller.h

Issue 2669123003: iOS: Mark HTTP pages with credit card fields with an omnibox icon. (Closed)
Patch Set: Update comments. Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « ios/web/public/web_state/web_state.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/web/net/crw_request_tracker_delegate.h" 10 #import "ios/web/net/crw_request_tracker_delegate.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // complete it will be handled internally. 221 // complete it will be handled internally.
222 - (void)restoreStateFromHistory; 222 - (void)restoreStateFromHistory;
223 223
224 // Notifies the CRWWebController that it has been shown. 224 // Notifies the CRWWebController that it has been shown.
225 - (void)wasShown; 225 - (void)wasShown;
226 226
227 // Notifies the CRWWebController that the current page is an HTTP page 227 // Notifies the CRWWebController that the current page is an HTTP page
228 // containing a password field. 228 // containing a password field.
229 - (void)didShowPasswordInputOnHTTP; 229 - (void)didShowPasswordInputOnHTTP;
230 230
231 // Notifies the CRWWebController that the current page is an HTTP page
232 // containing a credit card field.
233 - (void)didShowCreditCardInputOnHTTP;
234
231 // Notifies the CRWWebController that it has been hidden. 235 // Notifies the CRWWebController that it has been hidden.
232 - (void)wasHidden; 236 - (void)wasHidden;
233 237
234 // Returns |YES| if the current page should show the keyboard shield. 238 // Returns |YES| if the current page should show the keyboard shield.
235 - (BOOL)wantsKeyboardShield; 239 - (BOOL)wantsKeyboardShield;
236 240
237 // Returns |YES| if the current page should should the location bar hint text. 241 // Returns |YES| if the current page should should the location bar hint text.
238 - (BOOL)wantsLocationBarHintText; 242 - (BOOL)wantsLocationBarHintText;
239 243
240 // Adds |recognizer| as a gesture recognizer to the web view. 244 // Adds |recognizer| as a gesture recognizer to the web view.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 305
302 // Acts on a single message from the JS object, parsed from JSON into a 306 // Acts on a single message from the JS object, parsed from JSON into a
303 // DictionaryValue. Returns NO if the format for the message was invalid. 307 // DictionaryValue. Returns NO if the format for the message was invalid.
304 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage 308 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage
305 userIsInteracting:(BOOL)userIsInteracting 309 userIsInteracting:(BOOL)userIsInteracting
306 originURL:(const GURL&)originURL; 310 originURL:(const GURL&)originURL;
307 311
308 @end 312 @end
309 313
310 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 314 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/web/public/web_state/web_state.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698