| 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) | 710 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) |
| 711 { | 711 { |
| 712 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); | 712 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); |
| 713 } | 713 } |
| 714 | 714 |
| 715 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | 715 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) |
| 716 { | 716 { |
| 717 m_settings->setMediaPlaybackRequiresUserGesture(required); | 717 m_settings->setMediaPlaybackRequiresUserGesture(required); |
| 718 } | 718 } |
| 719 | 719 |
| 720 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) |
| 721 { |
| 722 m_settings->setPresentationRequiresUserGesture(required); |
| 723 } |
| 724 |
| 720 void WebSettingsImpl::setViewportEnabled(bool enabled) | 725 void WebSettingsImpl::setViewportEnabled(bool enabled) |
| 721 { | 726 { |
| 722 m_settings->setViewportEnabled(enabled); | 727 m_settings->setViewportEnabled(enabled); |
| 723 } | 728 } |
| 724 | 729 |
| 725 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) | 730 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) |
| 726 { | 731 { |
| 727 m_settings->setViewportMetaEnabled(enabled); | 732 m_settings->setViewportMetaEnabled(enabled); |
| 728 } | 733 } |
| 729 | 734 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 { | 797 { |
| 793 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 798 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 794 } | 799 } |
| 795 | 800 |
| 796 void WebSettingsImpl::setScrollAnchoringEnabled(bool enabled) | 801 void WebSettingsImpl::setScrollAnchoringEnabled(bool enabled) |
| 797 { | 802 { |
| 798 m_settings->setScrollAnchoringEnabled(enabled); | 803 m_settings->setScrollAnchoringEnabled(enabled); |
| 799 } | 804 } |
| 800 | 805 |
| 801 } // namespace blink | 806 } // namespace blink |
| OLD | NEW |