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

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

Issue 428263004: Revert of Delete mediaPlaybackRequiresUserGesture (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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