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

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

Issue 2755013002: Removed webControllerDidSuppressDialog: callback. (Closed)
Patch Set: Self review Created 3 years, 9 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/web_state/ui/crw_web_delegate.h ('k') | ios/web/public/web_state/web_state_observer.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 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;
« no previous file with comments | « ios/web/public/web_state/ui/crw_web_delegate.h ('k') | ios/web/public/web_state/web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698