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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/test/fakes/test_web_state.h ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cb31708c492e1c35c175c38871a1731f9e39ba58..b18a93cca74c0291b562b8450339826ed2a2a8cb 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -200,10 +200,16 @@ class WebState : public base::SupportsUserData {
// Returns the currently visible WebInterstitial if one is shown.
virtual WebInterstitial* GetWebInterstitial() const = 0;
- // Tells the WebState that the current page is an HTTP page
- // containing a password field.
+ // Called when the WebState has displayed a password field on an HTTP page.
+ // This method modifies the appropriate NavigationEntry's SSLStatus to record
+ // the sensitive input field, so that embedders can adjust the UI if desired.
virtual void OnPasswordInputShownOnHttp() = 0;
+ // Called when the WebState has displayed a credit card field on an HTTP page.
+ // This method modifies the appropriate NavigationEntry's SSLStatus to record
+ // the sensitive input field, so that embedders can adjust the UI if desired.
+ virtual void OnCreditCardInputShownOnHttp() = 0;
+
// Callback used to handle script commands.
// The callback must return true if the command was handled, and false
// otherwise.
« no previous file with comments | « ios/web/public/test/fakes/test_web_state.h ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698