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