| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 81 } |
| 82 | 82 |
| 83 void WebRuntimeFeatures::EnableCompositedSelectionUpdate(bool enable) { | 83 void WebRuntimeFeatures::EnableCompositedSelectionUpdate(bool enable) { |
| 84 RuntimeEnabledFeatures::SetCompositedSelectionUpdateEnabled(enable); | 84 RuntimeEnabledFeatures::SetCompositedSelectionUpdateEnabled(enable); |
| 85 } | 85 } |
| 86 | 86 |
| 87 bool WebRuntimeFeatures::IsCompositedSelectionUpdateEnabled() { | 87 bool WebRuntimeFeatures::IsCompositedSelectionUpdateEnabled() { |
| 88 return RuntimeEnabledFeatures::CompositedSelectionUpdateEnabled(); | 88 return RuntimeEnabledFeatures::CompositedSelectionUpdateEnabled(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 void WebRuntimeFeatures::EnableCompositorTouchAction(bool enable) { |
| 92 RuntimeEnabledFeatures::SetCompositorTouchActionEnabled(enable); |
| 93 } |
| 94 |
| 91 void WebRuntimeFeatures::EnableDatabase(bool enable) { | 95 void WebRuntimeFeatures::EnableDatabase(bool enable) { |
| 92 RuntimeEnabledFeatures::SetDatabaseEnabled(enable); | 96 RuntimeEnabledFeatures::SetDatabaseEnabled(enable); |
| 93 } | 97 } |
| 94 | 98 |
| 95 void WebRuntimeFeatures::EnableDecodeToYUV(bool enable) { | 99 void WebRuntimeFeatures::EnableDecodeToYUV(bool enable) { |
| 96 RuntimeEnabledFeatures::SetDecodeToYUVEnabled(enable); | 100 RuntimeEnabledFeatures::SetDecodeToYUVEnabled(enable); |
| 97 } | 101 } |
| 98 | 102 |
| 99 void WebRuntimeFeatures::ForceDisplayList2dCanvas(bool enable) { | 103 void WebRuntimeFeatures::ForceDisplayList2dCanvas(bool enable) { |
| 100 RuntimeEnabledFeatures::SetForceDisplayList2dCanvasEnabled(enable); | 104 RuntimeEnabledFeatures::SetForceDisplayList2dCanvasEnabled(enable); |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 | 408 |
| 405 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { | 409 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { |
| 406 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable); | 410 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable); |
| 407 } | 411 } |
| 408 | 412 |
| 409 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) { | 413 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) { |
| 410 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable); | 414 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable); |
| 411 } | 415 } |
| 412 | 416 |
| 413 } // namespace blink | 417 } // namespace blink |
| OLD | NEW |