Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1613)

Side by Side Diff: Source/web/WebSettingsImpl.cpp

Issue 250533003: Add a mediaControlsOverlayPlayButtonEnabled setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698