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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 1894143002: Delete the NotificationActionIcons flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address johnme's comments. Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void WebRuntimeFeatures::enableMediaCapture(bool enable) 148 void WebRuntimeFeatures::enableMediaCapture(bool enable)
149 { 149 {
150 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); 150 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable);
151 } 151 }
152 152
153 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) 153 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable)
154 { 154 {
155 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); 155 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable);
156 } 156 }
157 157
158 void WebRuntimeFeatures::enableNotificationActionIcons(bool enable)
159 {
160 RuntimeEnabledFeatures::setNotificationActionIconsEnabled(enable);
161 }
162
163 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) 158 void WebRuntimeFeatures::enableNotificationConstructor(bool enable)
164 { 159 {
165 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); 160 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable);
166 } 161 }
167 162
168 void WebRuntimeFeatures::enableNotifications(bool enable) 163 void WebRuntimeFeatures::enableNotifications(bool enable)
169 { 164 {
170 RuntimeEnabledFeatures::setNotificationsEnabled(enable); 165 RuntimeEnabledFeatures::setNotificationsEnabled(enable);
171 } 166 }
172 167
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 { 304 {
310 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); 305 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable);
311 } 306 }
312 307
313 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() 308 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled()
314 { 309 {
315 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); 310 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled();
316 } 311 }
317 312
318 } // namespace blink 313 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698