| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 151 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
| 152 { | 152 { |
| 153 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 153 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 154 } | 154 } |
| 155 | 155 |
| 156 void WebRuntimeFeatures::enableMediaSource(bool enable) | 156 void WebRuntimeFeatures::enableMediaSource(bool enable) |
| 157 { | 157 { |
| 158 RuntimeEnabledFeatures::setMediaSourceEnabled(enable); | 158 RuntimeEnabledFeatures::setMediaSourceEnabled(enable); |
| 159 } | 159 } |
| 160 | 160 |
| 161 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) |
| 162 { |
| 163 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); |
| 164 } |
| 165 |
| 161 void WebRuntimeFeatures::enableNotifications(bool enable) | 166 void WebRuntimeFeatures::enableNotifications(bool enable) |
| 162 { | 167 { |
| 163 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 168 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| 164 } | 169 } |
| 165 | 170 |
| 166 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) | 171 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) |
| 167 { | 172 { |
| 168 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 173 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
| 169 } | 174 } |
| 170 | 175 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 { | 322 { |
| 318 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); | 323 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); |
| 319 } | 324 } |
| 320 | 325 |
| 321 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) | 326 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) |
| 322 { | 327 { |
| 323 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 328 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
| 324 } | 329 } |
| 325 | 330 |
| 326 } // namespace blink | 331 } // namespace blink |
| OLD | NEW |