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

Unified Diff: ios/web/public/web_state/web_state.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/test/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 9f923336159d6f578c9fc9fb8fd9d8c99dad8a30..cb31708c492e1c35c175c38871a1731f9e39ba58 100644
--- a/ios/web/public/web_state/web_state.h
+++ b/ios/web/public/web_state/web_state.h
@@ -200,6 +200,10 @@ 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.
+ virtual void OnPasswordInputShownOnHttp() = 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/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