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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 bool WebSettingsImpl::shrinksViewportContentToFit() const | 644 bool WebSettingsImpl::shrinksViewportContentToFit() const |
645 { | 645 { |
646 return m_shrinksViewportContentToFit; | 646 return m_shrinksViewportContentToFit; |
647 } | 647 } |
648 | 648 |
649 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) | 649 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) |
650 { | 650 { |
651 m_settings->setShouldRespectImageOrientation(enabled); | 651 m_settings->setShouldRespectImageOrientation(enabled); |
652 } | 652 } |
653 | 653 |
| 654 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) |
| 655 { |
| 656 m_settings->setMediaControlsOverlayPlayButtonEnabled(enabled); |
| 657 } |
| 658 |
654 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | 659 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) |
655 { | 660 { |
656 m_settings->setMediaPlaybackRequiresUserGesture(required); | 661 m_settings->setMediaPlaybackRequiresUserGesture(required); |
657 } | 662 } |
658 | 663 |
659 void WebSettingsImpl::setViewportEnabled(bool enabled) | 664 void WebSettingsImpl::setViewportEnabled(bool enabled) |
660 { | 665 { |
661 m_settings->setViewportEnabled(enabled); | 666 m_settings->setViewportEnabled(enabled); |
662 } | 667 } |
663 | 668 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 { | 735 { |
731 m_settings->setUseSolidColorScrollbars(enabled); | 736 m_settings->setUseSolidColorScrollbars(enabled); |
732 } | 737 } |
733 | 738 |
734 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 739 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
735 { | 740 { |
736 m_mainFrameResizesAreOrientationChanges = enabled; | 741 m_mainFrameResizesAreOrientationChanges = enabled; |
737 } | 742 } |
738 | 743 |
739 } // namespace blink | 744 } // namespace blink |
OLD | NEW |