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

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

Issue 2466143002: iOS: Mark HTTP pages with password fields with an omnibox icon. (Closed)
Patch Set: iOS HTTP Bad. 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 unified diff | Download patch
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // from the current page into the current session entry. 225 // from the current page into the current session entry.
226 - (void)recordStateInHistory; 226 - (void)recordStateInHistory;
227 // Restores the state for this page from session history. 227 // Restores the state for this page from session history.
228 // TODO(stuartmorgan): This is public only temporarily; once refactoring is 228 // TODO(stuartmorgan): This is public only temporarily; once refactoring is
229 // complete it will be handled internally. 229 // complete it will be handled internally.
230 - (void)restoreStateFromHistory; 230 - (void)restoreStateFromHistory;
231 231
232 // Notifies the CRWWebController that it has been shown. 232 // Notifies the CRWWebController that it has been shown.
233 - (void)wasShown; 233 - (void)wasShown;
234 234
235 - (void)didShowSensitiveInputOnHttp;
lgarron 2016/11/29 03:48:49 Is this the appropriate way to adapt OnSensitiveIn
Eugene But (OOO till 7-30) 2016/11/30 17:58:41 Please add comments.
Eugene But (OOO till 7-30) 2016/11/30 17:58:41 The naming pattern is correct. Please use all caps
lgarron 2016/12/02 01:21:52 Done.
236
235 // Notifies the CRWWebController that it has been hidden. 237 // Notifies the CRWWebController that it has been hidden.
236 - (void)wasHidden; 238 - (void)wasHidden;
237 239
238 // Returns |YES| if the current page should show the keyboard shield. 240 // Returns |YES| if the current page should show the keyboard shield.
239 - (BOOL)wantsKeyboardShield; 241 - (BOOL)wantsKeyboardShield;
240 242
241 // Returns |YES| if the current page should should the location bar hint text. 243 // Returns |YES| if the current page should should the location bar hint text.
242 - (BOOL)wantsLocationBarHintText; 244 - (BOOL)wantsLocationBarHintText;
243 245
244 // Adds |recognizer| as a gesture recognizer to the web view. 246 // Adds |recognizer| as a gesture recognizer to the web view.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 307
306 // Acts on a single message from the JS object, parsed from JSON into a 308 // Acts on a single message from the JS object, parsed from JSON into a
307 // DictionaryValue. Returns NO if the format for the message was invalid. 309 // DictionaryValue. Returns NO if the format for the message was invalid.
308 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage 310 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage
309 userIsInteracting:(BOOL)userIsInteracting 311 userIsInteracting:(BOOL)userIsInteracting
310 originURL:(const GURL&)originURL; 312 originURL:(const GURL&)originURL;
311 313
312 @end 314 @end
313 315
314 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 316 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698