| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 void WebRuntimeFeatures::EnableTestOnlyFeatures(bool enable) { | 63 void WebRuntimeFeatures::EnableTestOnlyFeatures(bool enable) { |
| 64 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 64 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void WebRuntimeFeatures::EnableAccelerated2dCanvas(bool enable) { | 67 void WebRuntimeFeatures::EnableAccelerated2dCanvas(bool enable) { |
| 68 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable); | 68 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable); |
| 69 } | 69 } |
| 70 | 70 |
| 71 void WebRuntimeFeatures::EnableAccessibilityObjectModel(bool enable) { | |
| 72 RuntimeEnabledFeatures::setAccessibilityObjectModelEnabled(enable); | |
| 73 } | |
| 74 | |
| 75 void WebRuntimeFeatures::EnableAudioOutputDevices(bool enable) { | 71 void WebRuntimeFeatures::EnableAudioOutputDevices(bool enable) { |
| 76 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); | 72 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); |
| 77 } | 73 } |
| 78 | 74 |
| 79 void WebRuntimeFeatures::EnableCanvas2dImageChromium(bool enable) { | 75 void WebRuntimeFeatures::EnableCanvas2dImageChromium(bool enable) { |
| 80 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); | 76 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); |
| 81 } | 77 } |
| 82 | 78 |
| 83 void WebRuntimeFeatures::EnableColorCorrectRendering(bool enable) { | 79 void WebRuntimeFeatures::EnableColorCorrectRendering(bool enable) { |
| 84 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); | 80 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 | 398 |
| 403 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 399 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
| 404 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 400 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
| 405 } | 401 } |
| 406 | 402 |
| 407 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
| 408 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 409 } | 405 } |
| 410 | 406 |
| 411 } // namespace blink | 407 } // namespace blink |
| OLD | NEW |