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

Unified Diff: ios/web/public/web_state/web_state_observer.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/web_state.h ('k') | ios/web/public/web_state/web_state_observer_bridge.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_observer.h
diff --git a/ios/web/public/web_state/web_state_observer.h b/ios/web/public/web_state/web_state_observer.h
index 100312cc84f622f9b8f800c822680527d03c3e19..2d84681c73d0bcd7d8fef8f3ab7c8e1778e2260a 100644
--- a/ios/web/public/web_state/web_state_observer.h
+++ b/ios/web/public/web_state/web_state_observer.h
@@ -91,6 +91,12 @@ class WebStateObserver {
// Called when the visible security state of the page changes.
virtual void DidChangeVisibleSecurityState() {}
+ // Called when a dialog (JavaScript, geolocation) or window open request was
+ // suppressed.
+ // NOTE: Called only if WebState::SetShouldSuppressDialogs() was called with
+ // false.
+ virtual void DidSuppressDialog() {}
+
// Called on form submission. |user_initiated| is true if the user
// interacted with the page.
virtual void DocumentSubmitted(const std::string& form_name,
« no previous file with comments | « ios/web/public/web_state/web_state.h ('k') | ios/web/public/web_state/web_state_observer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698