| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) | 128 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) |
| 129 { | 129 { |
| 130 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); | 130 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); |
| 131 } | 131 } |
| 132 | 132 |
| 133 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 133 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
| 134 { | 134 { |
| 135 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 135 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 136 } | 136 } |
| 137 | 137 |
| 138 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) |
| 139 { |
| 140 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| 141 } |
| 142 |
| 138 void WebRuntimeFeatures::enableMediaRecorder(bool enable) | 143 void WebRuntimeFeatures::enableMediaRecorder(bool enable) |
| 139 { | 144 { |
| 140 RuntimeEnabledFeatures::setMediaRecorderEnabled(enable); | 145 RuntimeEnabledFeatures::setMediaRecorderEnabled(enable); |
| 141 } | 146 } |
| 142 | 147 |
| 143 void WebRuntimeFeatures::enableNotificationActionIcons(bool enable) | 148 void WebRuntimeFeatures::enableNotificationActionIcons(bool enable) |
| 144 { | 149 { |
| 145 RuntimeEnabledFeatures::setNotificationActionIconsEnabled(enable); | 150 RuntimeEnabledFeatures::setNotificationActionIconsEnabled(enable); |
| 146 } | 151 } |
| 147 | 152 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 { | 309 { |
| 305 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); | 310 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); |
| 306 } | 311 } |
| 307 | 312 |
| 308 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() | 313 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() |
| 309 { | 314 { |
| 310 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); | 315 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); |
| 311 } | 316 } |
| 312 | 317 |
| 313 } // namespace blink | 318 } // namespace blink |
| OLD | NEW |