| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 | 70 |
| 71 void WebRuntimeFeatures::EnableAudioOutputDevices(bool enable) { | 71 void WebRuntimeFeatures::EnableAudioOutputDevices(bool enable) { |
| 72 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); | 72 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); |
| 73 } | 73 } |
| 74 | 74 |
| 75 void WebRuntimeFeatures::EnableCanvas2dImageChromium(bool enable) { | 75 void WebRuntimeFeatures::EnableCanvas2dImageChromium(bool enable) { |
| 76 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); | 76 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void WebRuntimeFeatures::EnableColorCanvasExtensions(bool enable) { |
| 80 RuntimeEnabledFeatures::setColorCanvasExtensionsEnabled(enable); |
| 81 } |
| 82 |
| 79 void WebRuntimeFeatures::EnableColorCorrectRendering(bool enable) { | 83 void WebRuntimeFeatures::EnableColorCorrectRendering(bool enable) { |
| 80 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); | 84 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); |
| 81 } | 85 } |
| 82 | 86 |
| 83 void WebRuntimeFeatures::EnableColorCorrectRenderingDefaultMode(bool enable) { | |
| 84 RuntimeEnabledFeatures::setColorCorrectRenderingDefaultModeEnabled(enable); | |
| 85 } | |
| 86 | |
| 87 void WebRuntimeFeatures::EnableCompositedSelectionUpdate(bool enable) { | 87 void WebRuntimeFeatures::EnableCompositedSelectionUpdate(bool enable) { |
| 88 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); | 88 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); |
| 89 } | 89 } |
| 90 | 90 |
| 91 bool WebRuntimeFeatures::IsCompositedSelectionUpdateEnabled() { | 91 bool WebRuntimeFeatures::IsCompositedSelectionUpdateEnabled() { |
| 92 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); | 92 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); |
| 93 } | 93 } |
| 94 | 94 |
| 95 void WebRuntimeFeatures::EnableDatabase(bool enable) { | 95 void WebRuntimeFeatures::EnableDatabase(bool enable) { |
| 96 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 96 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 | 402 |
| 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
| 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 405 } | 405 } |
| 406 | 406 |
| 407 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { | 407 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { |
| 408 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); | 408 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); |
| 409 } | 409 } |
| 410 | 410 |
| 411 } // namespace blink | 411 } // namespace blink |
| OLD | NEW |