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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) | 656 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) |
657 { | 657 { |
658 m_settings->setShouldRespectImageOrientation(enabled); | 658 m_settings->setShouldRespectImageOrientation(enabled); |
659 } | 659 } |
660 | 660 |
661 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | 661 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) |
662 { | 662 { |
663 m_settings->setMediaPlaybackRequiresUserGesture(required); | 663 m_settings->setMediaPlaybackRequiresUserGesture(required); |
664 } | 664 } |
665 | 665 |
666 void WebSettingsImpl::setMediaFullscreenRequiresUserGesture(bool required) | |
667 { | |
668 m_settings->setMediaFullscreenRequiresUserGesture(required); | |
669 } | |
670 | |
671 void WebSettingsImpl::setViewportEnabled(bool enabled) | 666 void WebSettingsImpl::setViewportEnabled(bool enabled) |
672 { | 667 { |
673 m_settings->setViewportEnabled(enabled); | 668 m_settings->setViewportEnabled(enabled); |
674 } | 669 } |
675 | 670 |
676 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) | 671 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) |
677 { | 672 { |
678 m_settings->setViewportMetaEnabled(enabled); | 673 m_settings->setViewportMetaEnabled(enabled); |
679 } | 674 } |
680 | 675 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 { | 737 { |
743 m_settings->setUseSolidColorScrollbars(enabled); | 738 m_settings->setUseSolidColorScrollbars(enabled); |
744 } | 739 } |
745 | 740 |
746 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 741 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
747 { | 742 { |
748 m_mainFrameResizesAreOrientationChanges = enabled; | 743 m_mainFrameResizesAreOrientationChanges = enabled; |
749 } | 744 } |
750 | 745 |
751 } // namespace blink | 746 } // namespace blink |
OLD | NEW |