| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 void WebRuntimeFeatures::enableTouch(bool enable) | 337 void WebRuntimeFeatures::enableTouch(bool enable) |
| 338 { | 338 { |
| 339 RuntimeEnabledFeatures::setTouchEnabled(enable); | 339 RuntimeEnabledFeatures::setTouchEnabled(enable); |
| 340 } | 340 } |
| 341 | 341 |
| 342 bool WebRuntimeFeatures::isTouchEnabled() | 342 bool WebRuntimeFeatures::isTouchEnabled() |
| 343 { | 343 { |
| 344 return RuntimeEnabledFeatures::touchEnabled(); | 344 return RuntimeEnabledFeatures::touchEnabled(); |
| 345 } | 345 } |
| 346 | 346 |
| 347 void WebRuntimeFeatures::enablePointerEventsMaxTouchPoints(bool enable) |
| 348 { |
| 349 RuntimeEnabledFeatures::setPointerEventsMaxTouchPointsEnabled(enable); |
| 350 } |
| 351 |
| 352 bool WebRuntimeFeatures::isPointerEventsMaxTouchPointsEnabled() |
| 353 { |
| 354 return RuntimeEnabledFeatures::pointerEventsMaxTouchPointsEnabled(); |
| 355 } |
| 356 |
| 347 void WebRuntimeFeatures::enableWebAnimationsCSS() | 357 void WebRuntimeFeatures::enableWebAnimationsCSS() |
| 348 { | 358 { |
| 349 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); | 359 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 350 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(true); | 360 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(true); |
| 351 } | 361 } |
| 352 | 362 |
| 353 void WebRuntimeFeatures::enableWebAnimationsSVG() | 363 void WebRuntimeFeatures::enableWebAnimationsSVG() |
| 354 { | 364 { |
| 355 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); | 365 RuntimeEnabledFeatures::setWebAnimationsEnabled(true); |
| 356 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(true); | 366 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(true); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 { | 435 { |
| 426 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); | 436 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); |
| 427 } | 437 } |
| 428 | 438 |
| 429 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) | 439 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) |
| 430 { | 440 { |
| 431 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); | 441 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); |
| 432 } | 442 } |
| 433 | 443 |
| 434 } // namespace WebKit | 444 } // namespace WebKit |
| OLD | NEW |