| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void WebRuntimeFeatures::enableWebBluetooth(bool enable) | 43 void WebRuntimeFeatures::enableWebBluetooth(bool enable) |
| 44 { | 44 { |
| 45 RuntimeEnabledFeatures::setWebBluetoothEnabled(enable); | 45 RuntimeEnabledFeatures::setWebBluetoothEnabled(enable); |
| 46 } | 46 } |
| 47 | 47 |
| 48 void WebRuntimeFeatures::enableFeatureFromString(const std::string& name, bool e
nable) | 48 void WebRuntimeFeatures::enableFeatureFromString(const std::string& name, bool e
nable) |
| 49 { | 49 { |
| 50 RuntimeEnabledFeatures::setFeatureEnabledFromString(name, enable); | 50 RuntimeEnabledFeatures::setFeatureEnabledFromString(name, enable); |
| 51 } | 51 } |
| 52 | 52 |
| 53 void WebRuntimeFeatures::enableCompositorAnimationTimelines(bool enable) | |
| 54 { | |
| 55 RuntimeEnabledFeatures::setCompositorAnimationTimelinesEnabled(enable); | |
| 56 } | |
| 57 | |
| 58 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) | 53 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) |
| 59 { | 54 { |
| 60 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 55 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
| 61 } | 56 } |
| 62 | 57 |
| 63 void WebRuntimeFeatures::enableApplicationCache(bool enable) | 58 void WebRuntimeFeatures::enableApplicationCache(bool enable) |
| 64 { | 59 { |
| 65 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); | 60 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); |
| 66 } | 61 } |
| 67 | 62 |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 { | 324 { |
| 330 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); | 325 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); |
| 331 } | 326 } |
| 332 | 327 |
| 333 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() | 328 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() |
| 334 { | 329 { |
| 335 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); | 330 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); |
| 336 } | 331 } |
| 337 | 332 |
| 338 } // namespace blink | 333 } // namespace blink |
| OLD | NEW |