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

Unified Diff: content/child/runtime_features.cc

Issue 2803303002: Disable the image notification property on MacOS (Closed)
Patch Set: review Created 3 years, 8 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 | « chrome/browser/notifications/platform_notification_service_interactive_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index b783df3bdd63ad83df54c5ef83fcb5d74ad293b0..5db3dab8ffc80f815d73cc18af7fdfc0518e57eb 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -68,6 +68,11 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_MACOSX)
WebRuntimeFeatures::enableWebBluetooth(true);
#endif
+
+// The Notification Center on Mac OS X does not support content images.
+#if defined(OS_MACOSX)
+ WebRuntimeFeatures::enableNotificationContentImage(false);
+#endif
}
void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
« no previous file with comments | « chrome/browser/notifications/platform_notification_service_interactive_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698