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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 void WebRuntimeFeatures::enableDatabase(bool enable) | 77 void WebRuntimeFeatures::enableDatabase(bool enable) |
78 { | 78 { |
79 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 79 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
80 } | 80 } |
81 | 81 |
82 void WebRuntimeFeatures::enableDecodeToYUV(bool enable) | 82 void WebRuntimeFeatures::enableDecodeToYUV(bool enable) |
83 { | 83 { |
84 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable); | 84 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable); |
85 } | 85 } |
86 | 86 |
| 87 void WebRuntimeFeatures::forceDisplayList2dCanvas(bool enable) |
| 88 { |
| 89 RuntimeEnabledFeatures::setForceDisplayList2dCanvasEnabled(enable); |
| 90 } |
| 91 |
87 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) | 92 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) |
88 { | 93 { |
89 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); | 94 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); |
90 } | 95 } |
91 | 96 |
92 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) | 97 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) |
93 { | 98 { |
94 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); | 99 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); |
95 } | 100 } |
96 | 101 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 { | 313 { |
309 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 314 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
310 } | 315 } |
311 | 316 |
312 void WebRuntimeFeatures::enableSVG1DOM(bool enable) | 317 void WebRuntimeFeatures::enableSVG1DOM(bool enable) |
313 { | 318 { |
314 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); | 319 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); |
315 } | 320 } |
316 | 321 |
317 } // namespace blink | 322 } // namespace blink |
OLD | NEW |