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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() | 68 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() |
69 { | 69 { |
70 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); | 70 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); |
71 } | 71 } |
72 | 72 |
73 void WebRuntimeFeatures::enableDatabase(bool enable) | 73 void WebRuntimeFeatures::enableDatabase(bool enable) |
74 { | 74 { |
75 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 75 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
76 } | 76 } |
77 | 77 |
| 78 void WebRuntimeFeatures::enableDecodeToYUV(bool enable) |
| 79 { |
| 80 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable); |
| 81 } |
| 82 |
78 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) | 83 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) |
79 { | 84 { |
80 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); | 85 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); |
81 } | 86 } |
82 | 87 |
83 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) | 88 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) |
84 { | 89 { |
85 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); | 90 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); |
86 // FIXME: Hack to allow MediaKeyError to be enabled for either version. | 91 // FIXME: Hack to allow MediaKeyError to be enabled for either version. |
87 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( | 92 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 { | 287 { |
283 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 288 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
284 } | 289 } |
285 | 290 |
286 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 291 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
287 { | 292 { |
288 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 293 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
289 } | 294 } |
290 | 295 |
291 } // namespace blink | 296 } // namespace blink |
OLD | NEW |