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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 } | 143 } |
144 | 144 |
145 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) { | 145 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) { |
146 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); | 146 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); |
147 } | 147 } |
148 | 148 |
149 void WebRuntimeFeatures::enableGenericSensor(bool enable) { | 149 void WebRuntimeFeatures::enableGenericSensor(bool enable) { |
150 RuntimeEnabledFeatures::setSensorEnabled(enable); | 150 RuntimeEnabledFeatures::setSensorEnabled(enable); |
151 } | 151 } |
152 | 152 |
| 153 void WebRuntimeFeatures::enableHeapCompaction(bool enable) { |
| 154 RuntimeEnabledFeatures::setHeapCompactionEnabled(enable); |
| 155 } |
| 156 |
153 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { | 157 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { |
154 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); | 158 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); |
155 } | 159 } |
156 | 160 |
157 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) { | 161 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) { |
158 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable); | 162 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable); |
159 } | 163 } |
160 | 164 |
161 void WebRuntimeFeatures::enableMediaCapture(bool enable) { | 165 void WebRuntimeFeatures::enableMediaCapture(bool enable) { |
162 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 166 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 370 |
367 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 371 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
368 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 372 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
369 } | 373 } |
370 | 374 |
371 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { | 375 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { |
372 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 376 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
373 } | 377 } |
374 | 378 |
375 } // namespace blink | 379 } // namespace blink |
OLD | NEW |