| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 } | 57 } |
| 58 | 58 |
| 59 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) { | 59 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) { |
| 60 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 60 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable) { | 63 void WebRuntimeFeatures::enableAccelerated2dCanvas(bool enable) { |
| 64 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable); | 64 RuntimeEnabledFeatures::setAccelerated2dCanvasEnabled(enable); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void WebRuntimeFeatures::enableAccessibilityObjectModel(bool enable) { |
| 68 RuntimeEnabledFeatures::setAccessibilityObjectModelEnabled(enable); |
| 69 } |
| 70 |
| 67 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) { | 71 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) { |
| 68 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); | 72 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); |
| 69 } | 73 } |
| 70 | 74 |
| 71 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) { | 75 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) { |
| 72 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); | 76 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); |
| 73 } | 77 } |
| 74 | 78 |
| 75 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) { | 79 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) { |
| 76 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); | 80 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); |
| (...skipping 309 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 |