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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 void WebRuntimeFeatures::enableTouch(bool enable) | 324 void WebRuntimeFeatures::enableTouch(bool enable) |
325 { | 325 { |
326 RuntimeEnabledFeatures::setTouchEnabled(enable); | 326 RuntimeEnabledFeatures::setTouchEnabled(enable); |
327 } | 327 } |
328 | 328 |
329 bool WebRuntimeFeatures::isTouchEnabled() | 329 bool WebRuntimeFeatures::isTouchEnabled() |
330 { | 330 { |
331 return RuntimeEnabledFeatures::touchEnabled(); | 331 return RuntimeEnabledFeatures::touchEnabled(); |
332 } | 332 } |
333 | 333 |
| 334 void WebRuntimeFeatures::enableWebAnimationsCSS() |
| 335 { |
| 336 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 337 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(true); |
| 338 } |
| 339 |
| 340 void WebRuntimeFeatures::enableWebAnimationsSVG() |
| 341 { |
| 342 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 343 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(true); |
| 344 } |
| 345 |
334 void WebRuntimeFeatures::enableWebAudio(bool enable) | 346 void WebRuntimeFeatures::enableWebAudio(bool enable) |
335 { | 347 { |
336 RuntimeEnabledFeatures::setWebAudioEnabled(enable); | 348 RuntimeEnabledFeatures::setWebAudioEnabled(enable); |
337 } | 349 } |
338 | 350 |
339 bool WebRuntimeFeatures::isWebAudioEnabled() | 351 bool WebRuntimeFeatures::isWebAudioEnabled() |
340 { | 352 { |
341 return RuntimeEnabledFeatures::webAudioEnabled(); | 353 return RuntimeEnabledFeatures::webAudioEnabled(); |
342 } | 354 } |
343 | 355 |
(...skipping 21 matching lines...) Expand all Loading... |
365 { | 377 { |
366 RuntimeEnabledFeatures::setDataListElementEnabled(enable); | 378 RuntimeEnabledFeatures::setDataListElementEnabled(enable); |
367 } | 379 } |
368 | 380 |
369 bool WebRuntimeFeatures::isDataListElementEnabled() | 381 bool WebRuntimeFeatures::isDataListElementEnabled() |
370 { | 382 { |
371 return RuntimeEnabledFeatures::dataListElementEnabled(); | 383 return RuntimeEnabledFeatures::dataListElementEnabled(); |
372 } | 384 } |
373 | 385 |
374 } // namespace WebKit | 386 } // namespace WebKit |
OLD | NEW |