| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 127 } |
| 128 | 128 |
| 129 void WebRuntimeFeatures::enableFileSystem(bool enable) { | 129 void WebRuntimeFeatures::enableFileSystem(bool enable) { |
| 130 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 130 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 131 } | 131 } |
| 132 | 132 |
| 133 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) { | 133 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) { |
| 134 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); | 134 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); |
| 135 } | 135 } |
| 136 | 136 |
| 137 void WebRuntimeFeatures::enableGenericSensor(bool enable) { |
| 138 RuntimeEnabledFeatures::setSensorEnabled(enable); |
| 139 } |
| 140 |
| 137 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { | 141 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { |
| 138 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); | 142 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); |
| 139 } | 143 } |
| 140 | 144 |
| 141 void WebRuntimeFeatures::enableMediaCapture(bool enable) { | 145 void WebRuntimeFeatures::enableMediaCapture(bool enable) { |
| 142 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 146 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 143 } | 147 } |
| 144 | 148 |
| 145 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { | 149 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { |
| 146 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); | 150 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); | 336 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); |
| 333 } | 337 } |
| 334 | 338 |
| 335 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( | 339 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( |
| 336 bool enable) { | 340 bool enable) { |
| 337 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( | 341 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( |
| 338 enable); | 342 enable); |
| 339 } | 343 } |
| 340 | 344 |
| 341 } // namespace blink | 345 } // namespace blink |
| OLD | NEW |