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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 void WebRuntimeFeatures::enableWebFontsInterventionTrigger(bool enable) | 353 void WebRuntimeFeatures::enableWebFontsInterventionTrigger(bool enable) |
354 { | 354 { |
355 RuntimeEnabledFeatures::setWebFontsInterventionTriggerEnabled(enable); | 355 RuntimeEnabledFeatures::setWebFontsInterventionTriggerEnabled(enable); |
356 } | 356 } |
357 | 357 |
358 void WebRuntimeFeatures::enableRenderingPipelineThrottling(bool enable) | 358 void WebRuntimeFeatures::enableRenderingPipelineThrottling(bool enable) |
359 { | 359 { |
360 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); | 360 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); |
361 } | 361 } |
362 | 362 |
| 363 void WebRuntimeFeatures::enableRootLayerScrolling(bool enable) |
| 364 { |
| 365 RuntimeEnabledFeatures::setRootLayerScrollingEnabled(enable); |
| 366 } |
| 367 |
363 void WebRuntimeFeatures::enableScrollAnchoring(bool enable) | 368 void WebRuntimeFeatures::enableScrollAnchoring(bool enable) |
364 { | 369 { |
365 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); | 370 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); |
366 } | 371 } |
367 | 372 |
368 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) | 373 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) |
369 { | 374 { |
370 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); | 375 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); |
371 } | 376 } |
372 | 377 |
373 void WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(bool enable) | 378 void WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(bool enable) |
374 { | 379 { |
375 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); | 380 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); |
376 } | 381 } |
377 | 382 |
378 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 383 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
379 { | 384 { |
380 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 385 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
381 } | 386 } |
382 | 387 |
383 } // namespace blink | 388 } // namespace blink |
OLD | NEW |