| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 } | 614 } |
| 615 | 615 |
| 616 bool WebSettingsImpl::shrinksViewportContentToFit() const { | 616 bool WebSettingsImpl::shrinksViewportContentToFit() const { |
| 617 return m_shrinksViewportContentToFit; | 617 return m_shrinksViewportContentToFit; |
| 618 } | 618 } |
| 619 | 619 |
| 620 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) { | 620 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) { |
| 621 m_settings->setShouldRespectImageOrientation(enabled); | 621 m_settings->setShouldRespectImageOrientation(enabled); |
| 622 } | 622 } |
| 623 | 623 |
| 624 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) { | |
| 625 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); | |
| 626 } | |
| 627 | |
| 628 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) { | 624 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) { |
| 629 m_settings->setMediaPlaybackRequiresUserGesture(required); | 625 m_settings->setMediaPlaybackRequiresUserGesture(required); |
| 630 } | 626 } |
| 631 | 627 |
| 632 void WebSettingsImpl::setMediaPlaybackGestureWhitelistScope( | 628 void WebSettingsImpl::setMediaPlaybackGestureWhitelistScope( |
| 633 const WebString& scope) { | 629 const WebString& scope) { |
| 634 m_settings->setMediaPlaybackGestureWhitelistScope(scope); | 630 m_settings->setMediaPlaybackGestureWhitelistScope(scope); |
| 635 } | 631 } |
| 636 | 632 |
| 637 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) { | 633 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 | 722 |
| 727 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { | 723 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { |
| 728 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; | 724 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; |
| 729 } | 725 } |
| 730 | 726 |
| 731 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { | 727 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { |
| 732 m_settings->setMediaControlsEnabled(enabled); | 728 m_settings->setMediaControlsEnabled(enabled); |
| 733 } | 729 } |
| 734 | 730 |
| 735 } // namespace blink | 731 } // namespace blink |
| OLD | NEW |