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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2507463003: Add kill switch for Notification images (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 7210346101444dc13b417f037415aa209cc9d000..86b2e85627fa8422b801588da2c28f5317cdd18e 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -158,6 +158,10 @@ void WebRuntimeFeatures::enableNotificationConstructor(bool enable) {
RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable);
}
+void WebRuntimeFeatures::enableNotificationImage(bool enable) {
+ RuntimeEnabledFeatures::setNotificationImageEnabled(enable);
+}
+
void WebRuntimeFeatures::enableNotifications(bool enable) {
RuntimeEnabledFeatures::setNotificationsEnabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698