| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) | 368 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) |
| 369 { | 369 { |
| 370 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); | 370 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); |
| 371 } | 371 } |
| 372 | 372 |
| 373 void WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(bool enable) | 373 void WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(bool enable) |
| 374 { | 374 { |
| 375 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); | 375 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); |
| 376 } | 376 } |
| 377 | 377 |
| 378 void WebRuntimeFeatures::enableTimerThrottlingForHiddenFrames(bool enable) |
| 379 { |
| 380 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); |
| 381 } |
| 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 |