| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 void WebRuntimeFeatures::enableTouch(bool enable) | 347 void WebRuntimeFeatures::enableTouch(bool enable) |
| 348 { | 348 { |
| 349 RuntimeEnabledFeatures::setTouchEnabled(enable); | 349 RuntimeEnabledFeatures::setTouchEnabled(enable); |
| 350 } | 350 } |
| 351 | 351 |
| 352 bool WebRuntimeFeatures::isTouchEnabled() | 352 bool WebRuntimeFeatures::isTouchEnabled() |
| 353 { | 353 { |
| 354 return RuntimeEnabledFeatures::touchEnabled(); | 354 return RuntimeEnabledFeatures::touchEnabled(); |
| 355 } | 355 } |
| 356 | 356 |
| 357 void WebRuntimeFeatures::enablePointerEventsMaxTouchPoints(bool enable) |
| 358 { |
| 359 RuntimeEnabledFeatures::setPointerEventsMaxTouchPointsEnabled(enable); |
| 360 } |
| 361 |
| 362 bool WebRuntimeFeatures::isPointerEventsMaxTouchPointsEnabled() |
| 363 { |
| 364 return RuntimeEnabledFeatures::pointerEventsMaxTouchPointsEnabled(); |
| 365 } |
| 366 |
| 357 void WebRuntimeFeatures::enableWebAnimationsCSS() | 367 void WebRuntimeFeatures::enableWebAnimationsCSS() |
| 358 { | 368 { |
| 359 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); | 369 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 360 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(true); | 370 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(true); |
| 361 } | 371 } |
| 362 | 372 |
| 363 void WebRuntimeFeatures::enableWebAnimationsSVG() | 373 void WebRuntimeFeatures::enableWebAnimationsSVG() |
| 364 { | 374 { |
| 365 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); | 375 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 366 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(true); | 376 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(true); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 { | 445 { |
| 436 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); | 446 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); |
| 437 } | 447 } |
| 438 | 448 |
| 439 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) | 449 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) |
| 440 { | 450 { |
| 441 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); | 451 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); |
| 442 } | 452 } |
| 443 | 453 |
| 444 } // namespace WebKit | 454 } // namespace WebKit |
| OLD | NEW |