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

Unified Diff: ios/web/public/test/test_web_state.mm

Issue 2094633004: [ios] Added DialogsSuppression public API to WebState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation Created 4 years, 6 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/test/test_web_state.h ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/test_web_state.mm
diff --git a/ios/web/public/test/test_web_state.mm b/ios/web/public/test/test_web_state.mm
index 9d9ef40406c0a8dc7fec2f610caeda567e109362..befb12bdc5ebb3b309ea990ce967cdc87f1a92b3 100644
--- a/ios/web/public/test/test_web_state.mm
+++ b/ios/web/public/test/test_web_state.mm
@@ -36,6 +36,12 @@ void TestWebState::SetWebUsageEnabled(bool enabled) {
web_usage_enabled_ = enabled;
}
+bool TestWebState::ShouldSuppressDialogs() const {
+ return false;
+}
+
+void TestWebState::SetShouldSuppressDialogs(bool should_suppress) {}
+
UIView* TestWebState::GetView() {
return nullptr;
}
« no previous file with comments | « ios/web/public/test/test_web_state.h ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698