| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 } | 105 } |
| 106 | 106 |
| 107 void WebRuntimeFeatures::ForceDisable2dCanvasCopyOnWrite(bool enable) { | 107 void WebRuntimeFeatures::ForceDisable2dCanvasCopyOnWrite(bool enable) { |
| 108 RuntimeEnabledFeatures::setForceDisable2dCanvasCopyOnWriteEnabled(enable); | 108 RuntimeEnabledFeatures::setForceDisable2dCanvasCopyOnWriteEnabled(enable); |
| 109 } | 109 } |
| 110 | 110 |
| 111 void WebRuntimeFeatures::EnableDisplayList2dCanvas(bool enable) { | 111 void WebRuntimeFeatures::EnableDisplayList2dCanvas(bool enable) { |
| 112 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); | 112 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); |
| 113 } | 113 } |
| 114 | 114 |
| 115 void WebRuntimeFeatures::EnableCanvas2dDynamicRenderingModeSwitching( | |
| 116 bool enable) { | |
| 117 RuntimeEnabledFeatures::setEnableCanvas2dDynamicRenderingModeSwitchingEnabled( | |
| 118 enable); | |
| 119 } | |
| 120 | |
| 121 void WebRuntimeFeatures::EnableDocumentWriteEvaluator(bool enable) { | 115 void WebRuntimeFeatures::EnableDocumentWriteEvaluator(bool enable) { |
| 122 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable); | 116 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable); |
| 123 } | 117 } |
| 124 | 118 |
| 125 void WebRuntimeFeatures::EnableExperimentalCanvasFeatures(bool enable) { | 119 void WebRuntimeFeatures::EnableExperimentalCanvasFeatures(bool enable) { |
| 126 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); | 120 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); |
| 127 } | 121 } |
| 128 | 122 |
| 129 void WebRuntimeFeatures::EnableFastMobileScrolling(bool enable) { | 123 void WebRuntimeFeatures::EnableFastMobileScrolling(bool enable) { |
| 130 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 124 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 | 396 |
| 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 397 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
| 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 398 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 405 } | 399 } |
| 406 | 400 |
| 407 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { | 401 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { |
| 408 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); | 402 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); |
| 409 } | 403 } |
| 410 | 404 |
| 411 } // namespace blink | 405 } // namespace blink |
| OLD | NEW |