| 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.
|
|
|