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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 void WebRuntimeFeatures::enableWebAudio(bool enable) | 224 void WebRuntimeFeatures::enableWebAudio(bool enable) |
225 { | 225 { |
226 RuntimeEnabledFeatures::setWebAudioEnabled(enable); | 226 RuntimeEnabledFeatures::setWebAudioEnabled(enable); |
227 } | 227 } |
228 | 228 |
229 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) | 229 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) |
230 { | 230 { |
231 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); | 231 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); |
232 } | 232 } |
233 | 233 |
| 234 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable) |
| 235 { |
| 236 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable); |
| 237 } |
| 238 |
234 void WebRuntimeFeatures::enableWebMIDI(bool enable) | 239 void WebRuntimeFeatures::enableWebMIDI(bool enable) |
235 { | 240 { |
236 return RuntimeEnabledFeatures::setWebMIDIEnabled(enable); | 241 return RuntimeEnabledFeatures::setWebMIDIEnabled(enable); |
237 } | 242 } |
238 | 243 |
239 void WebRuntimeFeatures::enableHTMLImports(bool enable) | 244 void WebRuntimeFeatures::enableHTMLImports(bool enable) |
240 { | 245 { |
241 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); | 246 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); |
242 } | 247 } |
243 | 248 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 { | 285 { |
281 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); | 286 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); |
282 } | 287 } |
283 | 288 |
284 void WebRuntimeFeatures::enableLayerSquashing(bool enable) | 289 void WebRuntimeFeatures::enableLayerSquashing(bool enable) |
285 { | 290 { |
286 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | 291 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); |
287 } | 292 } |
288 | 293 |
289 } // namespace blink | 294 } // namespace blink |
OLD | NEW |