| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 void WebRuntimeFeatures::enableTouch(bool enable) | 363 void WebRuntimeFeatures::enableTouch(bool enable) |
| 364 { | 364 { |
| 365 RuntimeEnabledFeatures::setTouchEnabled(enable); | 365 RuntimeEnabledFeatures::setTouchEnabled(enable); |
| 366 } | 366 } |
| 367 | 367 |
| 368 bool WebRuntimeFeatures::isTouchEnabled() | 368 bool WebRuntimeFeatures::isTouchEnabled() |
| 369 { | 369 { |
| 370 return RuntimeEnabledFeatures::touchEnabled(); | 370 return RuntimeEnabledFeatures::touchEnabled(); |
| 371 } | 371 } |
| 372 | 372 |
| 373 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) |
| 374 { |
| 375 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); |
| 376 } |
| 377 |
| 378 bool WebRuntimeFeatures::isTouchIconLoadingEnabled() |
| 379 { |
| 380 return RuntimeEnabledFeatures::touchIconLoadingEnabled(); |
| 381 } |
| 382 |
| 373 void WebRuntimeFeatures::enableWebAnimationsCSS(bool enable) | 383 void WebRuntimeFeatures::enableWebAnimationsCSS(bool enable) |
| 374 { | 384 { |
| 375 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(enable); | 385 RuntimeEnabledFeatures::setWebAnimationsCSSEnabled(enable); |
| 376 } | 386 } |
| 377 | 387 |
| 378 void WebRuntimeFeatures::enableWebAnimationsSVG(bool enable) | 388 void WebRuntimeFeatures::enableWebAnimationsSVG(bool enable) |
| 379 { | 389 { |
| 380 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(enable); | 390 RuntimeEnabledFeatures::setWebAnimationsSVGEnabled(enable); |
| 381 } | 391 } |
| 382 | 392 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 { | 469 { |
| 460 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 470 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
| 461 } | 471 } |
| 462 | 472 |
| 463 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) | 473 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) |
| 464 { | 474 { |
| 465 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); | 475 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); |
| 466 } | 476 } |
| 467 | 477 |
| 468 } // namespace blink | 478 } // namespace blink |
| OLD | NEW |