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

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

Issue 2669123003: iOS: Mark HTTP pages with credit card fields with an omnibox icon. (Closed)
Patch Set: Add CRWWebController test. Created 3 years, 11 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
Index: ios/web/public/web_state/web_state.h
diff --git a/ios/web/public/web_state/web_state.h b/ios/web/public/web_state/web_state.h
index 75f6e79774bd69fbf482fe967ef4ddb5c2fc80d5..57a156d72c6d4becf1afcdc0799daa4ea8b09d9b 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -213,6 +213,10 @@ class WebState : public base::SupportsUserData {
// containing a password field.
virtual void OnPasswordInputShownOnHttp() = 0;
+ // Tells the WebState that the current page is an HTTP page
Eugene But (OOO till 7-30) 2017/02/03 19:24:16 Do you want to use comment from web contents which
lgarron 2017/02/04 00:28:35 I'd rather be a little more general here, in case
Eugene But (OOO till 7-30) 2017/02/04 01:29:17 It's ok, but how is this code different from conte
+ // containing a credit card field.
+ virtual void OnCreditCardInputShownOnHttp() = 0;
+
// Callback used to handle script commands.
// The callback must return true if the command was handled, and false
// otherwise.

Powered by Google App Engine
This is Rietveld 408576698