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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 void WebRuntimeFeatures::EnableSendBeaconThrowForBlobWithNonSimpleType( | 381 void WebRuntimeFeatures::EnableSendBeaconThrowForBlobWithNonSimpleType( |
382 bool enable) { | 382 bool enable) { |
383 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( | 383 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( |
384 enable); | 384 enable); |
385 } | 385 } |
386 | 386 |
387 void WebRuntimeFeatures::EnableBackgroundVideoTrackOptimization(bool enable) { | 387 void WebRuntimeFeatures::EnableBackgroundVideoTrackOptimization(bool enable) { |
388 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); | 388 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); |
389 } | 389 } |
390 | 390 |
| 391 void WebRuntimeFeatures::EnableNewRemotePlaybackPipeline(bool enable) { |
| 392 RuntimeEnabledFeatures::setNewRemotePlaybackPipelineEnabled(enable); |
| 393 } |
| 394 |
391 void WebRuntimeFeatures::EnableRemotePlaybackAPI(bool enable) { | 395 void WebRuntimeFeatures::EnableRemotePlaybackAPI(bool enable) { |
392 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 396 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
393 } | 397 } |
394 | 398 |
395 void WebRuntimeFeatures::EnableVideoFullscreenOrientationLock(bool enable) { | 399 void WebRuntimeFeatures::EnableVideoFullscreenOrientationLock(bool enable) { |
396 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 400 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
397 } | 401 } |
398 | 402 |
399 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 403 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
400 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 404 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
401 } | 405 } |
402 | 406 |
403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 407 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 408 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
405 } | 409 } |
406 | 410 |
407 } // namespace blink | 411 } // namespace blink |
OLD | NEW |