| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) | 52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) |
| 53 { | 53 { |
| 54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
| 55 } | 55 } |
| 56 | 56 |
| 57 void WebRuntimeFeatures::enableDatabase(bool enable) | 57 void WebRuntimeFeatures::enableDatabase(bool enable) |
| 58 { | 58 { |
| 59 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 59 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
| 60 } | 60 } |
| 61 | 61 |
| 62 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) | |
| 63 { | |
| 64 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); | |
| 65 } | |
| 66 | |
| 67 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) | 62 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) |
| 68 { | 63 { |
| 69 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); | 64 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); |
| 70 // FIXME: Hack to allow MediaKeyError to be enabled for either version. | 65 // FIXME: Hack to allow MediaKeyError to be enabled for either version. |
| 71 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( | 66 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( |
| 72 RuntimeEnabledFeatures::encryptedMediaEnabled() | 67 RuntimeEnabledFeatures::encryptedMediaEnabled() |
| 73 || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled()); | 68 || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled()); |
| 74 } | 69 } |
| 75 | 70 |
| 76 bool WebRuntimeFeatures::isEncryptedMediaEnabled() | 71 bool WebRuntimeFeatures::isEncryptedMediaEnabled() |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 { | 219 { |
| 225 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | 220 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); |
| 226 } | 221 } |
| 227 | 222 |
| 228 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 223 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
| 229 { | 224 { |
| 230 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 225 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
| 231 } | 226 } |
| 232 | 227 |
| 233 } // namespace blink | 228 } // namespace blink |
| OLD | NEW |