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 c54cbad34544e7e05d76704662209acf42d30efc..5010d435b604af0f80bef362f2d8c4d64ebc18d1 100644 |
--- a/ios/web/public/web_state/web_state.h |
+++ b/ios/web/public/web_state/web_state.h |
@@ -100,8 +100,9 @@ class WebState : public base::SupportsUserData { |
virtual bool IsWebUsageEnabled() const = 0; |
virtual void SetWebUsageEnabled(bool enabled) = 0; |
- // Whether or not dialogs (JavaScript dialogs, HTTP auths and window.open) |
- // calls should be suppressed. Default is false. |
+ // Whether or not dialogs (JavaScript, geolocation) and window open requests |
+ // should be suppressed. Default is false. When dialog is suppressed |
+ // |WebStateObserver::DidSuppressDialog| will be called. |
virtual bool ShouldSuppressDialogs() const = 0; |
virtual void SetShouldSuppressDialogs(bool should_suppress) = 0; |