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

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

Issue 414543002: Delete mediaPlaybackRequiresUserGesture (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove extra header Created 6 years, 5 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
634 void WebSettingsImpl::setViewportEnabled(bool enabled) 629 void WebSettingsImpl::setViewportEnabled(bool enabled)
635 { 630 {
636 m_settings->setViewportEnabled(enabled); 631 m_settings->setViewportEnabled(enabled);
637 } 632 }
638 633
639 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) 634 void WebSettingsImpl::setViewportMetaEnabled(bool enabled)
640 { 635 {
641 m_settings->setViewportMetaEnabled(enabled); 636 m_settings->setViewportMetaEnabled(enabled);
642 } 637 }
643 638
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 { 700 {
706 m_mainFrameResizesAreOrientationChanges = enabled; 701 m_mainFrameResizesAreOrientationChanges = enabled;
707 } 702 }
708 703
709 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) 704 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
710 { 705 {
711 m_disallowFullscreenForNonMediaElements = enabled; 706 m_disallowFullscreenForNonMediaElements = enabled;
712 } 707 }
713 708
714 } // namespace blink 709 } // 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