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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) | 619 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) |
620 { | 620 { |
621 m_settings->setShouldRespectImageOrientation(enabled); | 621 m_settings->setShouldRespectImageOrientation(enabled); |
622 } | 622 } |
623 | 623 |
624 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) | 624 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) |
625 { | 625 { |
626 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); | 626 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); |
627 } | 627 } |
628 | 628 |
629 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | |
630 { | |
631 m_settings->setMediaPlaybackRequiresUserGesture(required); | |
632 } | |
633 | |
634 void WebSettingsImpl::setViewportEnabled(bool enabled) | 629 void WebSettingsImpl::setViewportEnabled(bool enabled) |
635 { | 630 { |
636 m_settings->setViewportEnabled(enabled); | 631 m_settings->setViewportEnabled(enabled); |
637 } | 632 } |
638 | 633 |
639 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) | 634 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) |
640 { | 635 { |
641 m_settings->setViewportMetaEnabled(enabled); | 636 m_settings->setViewportMetaEnabled(enabled); |
642 } | 637 } |
643 | 638 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 { | 700 { |
706 m_mainFrameResizesAreOrientationChanges = enabled; | 701 m_mainFrameResizesAreOrientationChanges = enabled; |
707 } | 702 } |
708 | 703 |
709 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) | 704 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) |
710 { | 705 { |
711 m_disallowFullscreenForNonMediaElements = enabled; | 706 m_disallowFullscreenForNonMediaElements = enabled; |
712 } | 707 } |
713 | 708 |
714 } // namespace blink | 709 } // namespace blink |
OLD | NEW |