| 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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 } | 618 } |
| 619 | 619 |
| 620 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) { | 620 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) { |
| 621 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); | 621 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); |
| 622 } | 622 } |
| 623 | 623 |
| 624 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) { | 624 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) { |
| 625 m_settings->setMediaPlaybackRequiresUserGesture(required); | 625 m_settings->setMediaPlaybackRequiresUserGesture(required); |
| 626 } | 626 } |
| 627 | 627 |
| 628 void WebSettingsImpl::setMediaPlaybackGestureWhitelistScope( |
| 629 const WebString& scope) { |
| 630 m_settings->setMediaPlaybackGestureWhitelistScope(scope); |
| 631 } |
| 632 |
| 628 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) { | 633 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) { |
| 629 m_settings->setPresentationRequiresUserGesture(required); | 634 m_settings->setPresentationRequiresUserGesture(required); |
| 630 } | 635 } |
| 631 | 636 |
| 632 void WebSettingsImpl::setViewportEnabled(bool enabled) { | 637 void WebSettingsImpl::setViewportEnabled(bool enabled) { |
| 633 m_settings->setViewportEnabled(enabled); | 638 m_settings->setViewportEnabled(enabled); |
| 634 } | 639 } |
| 635 | 640 |
| 636 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) { | 641 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) { |
| 637 m_settings->setViewportMetaEnabled(enabled); | 642 m_settings->setViewportMetaEnabled(enabled); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( | 714 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( |
| 710 float maxBudget) { | 715 float maxBudget) { |
| 711 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; | 716 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; |
| 712 } | 717 } |
| 713 | 718 |
| 714 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { | 719 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { |
| 715 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; | 720 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; |
| 716 } | 721 } |
| 717 | 722 |
| 718 } // namespace blink | 723 } // namespace blink |
| OLD | NEW |