OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |