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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) | 108 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) |
109 { | 109 { |
110 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); | 110 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); |
111 } | 111 } |
112 | 112 |
113 bool WebRuntimeFeatures::isEncryptedMediaEnabled() | 113 bool WebRuntimeFeatures::isEncryptedMediaEnabled() |
114 { | 114 { |
115 return RuntimeEnabledFeatures::encryptedMediaEnabled(); | 115 return RuntimeEnabledFeatures::encryptedMediaEnabled(); |
116 } | 116 } |
117 | 117 |
118 void WebRuntimeFeatures::enablePrefixedEncryptedMedia(bool enable) | |
119 { | |
120 RuntimeEnabledFeatures::setPrefixedEncryptedMediaEnabled(enable); | |
121 } | |
122 | |
123 bool WebRuntimeFeatures::isPrefixedEncryptedMediaEnabled() | |
124 { | |
125 return RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled(); | |
126 } | |
127 | |
128 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) | 118 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) |
129 { | 119 { |
130 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); | 120 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); |
131 } | 121 } |
132 | 122 |
133 void WebRuntimeFeatures::enableExperimentalFramework(bool enable) | 123 void WebRuntimeFeatures::enableExperimentalFramework(bool enable) |
134 { | 124 { |
135 RuntimeEnabledFeatures::setExperimentalFrameworkEnabled(enable); | 125 RuntimeEnabledFeatures::setExperimentalFrameworkEnabled(enable); |
136 } | 126 } |
137 | 127 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 { | 329 { |
340 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); | 330 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); |
341 } | 331 } |
342 | 332 |
343 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() | 333 bool WebRuntimeFeatures::isServiceWorkerExtendableMessageEventEnabled() |
344 { | 334 { |
345 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); | 335 return RuntimeEnabledFeatures::serviceWorkerExtendableMessageEventEnabled(); |
346 } | 336 } |
347 | 337 |
348 } // namespace blink | 338 } // namespace blink |
OLD | NEW |