| 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 } | 389 } |
| 390 | 390 |
| 391 void WebRuntimeFeatures::EnableRemotePlaybackAPI(bool enable) { | 391 void WebRuntimeFeatures::EnableRemotePlaybackAPI(bool enable) { |
| 392 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 392 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
| 393 } | 393 } |
| 394 | 394 |
| 395 void WebRuntimeFeatures::EnableVideoFullscreenOrientationLock(bool enable) { | 395 void WebRuntimeFeatures::EnableVideoFullscreenOrientationLock(bool enable) { |
| 396 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 396 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
| 397 } | 397 } |
| 398 | 398 |
| 399 void WebRuntimeFeatures::EnableVideoRotateToFullscreen(bool enable) { |
| 400 RuntimeEnabledFeatures::setVideoRotateToFullscreenEnabled(enable); |
| 401 } |
| 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 |