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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) | 626 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) |
627 { | 627 { |
628 m_settings->setShouldRespectImageOrientation(enabled); | 628 m_settings->setShouldRespectImageOrientation(enabled); |
629 } | 629 } |
630 | 630 |
631 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | 631 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) |
632 { | 632 { |
633 m_settings->setMediaPlaybackRequiresUserGesture(required); | 633 m_settings->setMediaPlaybackRequiresUserGesture(required); |
634 } | 634 } |
635 | 635 |
| 636 void WebSettingsImpl::setClickToPlayPauseVideo(bool click) |
| 637 { |
| 638 m_settings->setClickToPlayPauseVideo(click); |
| 639 } |
| 640 |
636 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates) | 641 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates) |
637 { | 642 { |
638 m_settings->setFixedPositionCreatesStackingContext(creates); | 643 m_settings->setFixedPositionCreatesStackingContext(creates); |
639 } | 644 } |
640 | 645 |
641 void WebSettingsImpl::setViewportEnabled(bool enabled) | 646 void WebSettingsImpl::setViewportEnabled(bool enabled) |
642 { | 647 { |
643 m_viewportEnabled = enabled; | 648 m_viewportEnabled = enabled; |
644 } | 649 } |
645 | 650 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 { | 687 { |
683 m_settings->setSmartInsertDeleteEnabled(enabled); | 688 m_settings->setSmartInsertDeleteEnabled(enabled); |
684 } | 689 } |
685 | 690 |
686 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) | 691 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) |
687 { | 692 { |
688 m_settings->setPinchVirtualViewportEnabled(enabled); | 693 m_settings->setPinchVirtualViewportEnabled(enabled); |
689 } | 694 } |
690 | 695 |
691 } // namespace WebKit | 696 } // namespace WebKit |
OLD | NEW |