| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 | 132 |
| 133 void WebRuntimeFeatures::EnableFeaturePolicy(bool enable) { | 133 void WebRuntimeFeatures::EnableFeaturePolicy(bool enable) { |
| 134 RuntimeEnabledFeatures::setFeaturePolicyEnabled(enable); | 134 RuntimeEnabledFeatures::setFeaturePolicyEnabled(enable); |
| 135 } | 135 } |
| 136 | 136 |
| 137 void WebRuntimeFeatures::EnableFileSystem(bool enable) { | 137 void WebRuntimeFeatures::EnableFileSystem(bool enable) { |
| 138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 139 } | 139 } |
| 140 | 140 |
| 141 void WebRuntimeFeatures::EnableForceTallerSelectPopup(bool enable) { |
| 142 RuntimeEnabledFeatures::setForceTallerSelectPopupEnabled(enable); |
| 143 } |
| 144 |
| 141 void WebRuntimeFeatures::EnableGamepadExtensions(bool enable) { | 145 void WebRuntimeFeatures::EnableGamepadExtensions(bool enable) { |
| 142 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); | 146 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); |
| 143 } | 147 } |
| 144 | 148 |
| 145 void WebRuntimeFeatures::EnableGenericSensor(bool enable) { | 149 void WebRuntimeFeatures::EnableGenericSensor(bool enable) { |
| 146 RuntimeEnabledFeatures::setSensorEnabled(enable); | 150 RuntimeEnabledFeatures::setSensorEnabled(enable); |
| 147 } | 151 } |
| 148 | 152 |
| 149 void WebRuntimeFeatures::EnableHeapCompaction(bool enable) { | 153 void WebRuntimeFeatures::EnableHeapCompaction(bool enable) { |
| 150 RuntimeEnabledFeatures::setHeapCompactionEnabled(enable); | 154 RuntimeEnabledFeatures::setHeapCompactionEnabled(enable); |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 390 |
| 387 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 391 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
| 388 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 392 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
| 389 } | 393 } |
| 390 | 394 |
| 391 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 395 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
| 392 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 396 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 393 } | 397 } |
| 394 | 398 |
| 395 } // namespace blink | 399 } // namespace blink |
| OLD | NEW |