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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 914373003: Exceptions for Web Notifications and the Push API by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index f8ea4a1c52bd1ff2e337e3e6e88c6b55535d2665..01d3288e86d45bc3ee26287d19c2d46438ff0343 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -75,6 +75,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// File system API not supported (requires some new API; internal bug 6930981)
cl->AppendSwitch(switches::kDisableFileSystem);
+ // Web Notification API is not supported (https://crbug.com/434712)
Michael van Ouwerkerk 2015/02/13 11:50:47 I know this is documented in runtime_features.cc b
Peter Beverloo 2015/02/13 12:22:51 Done.
+ cl->AppendSwitch(switches::kDisableNotifications);
+
#if defined(VIDEO_HOLE)
// Support EME/L1 with hole-punching.
cl->AppendSwitch(switches::kMediaDrmEnableNonCompositing);

Powered by Google App Engine
This is Rietveld 408576698