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

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

Issue 23440027: Added a new runtime setting for RequireUserGestureForFullscreenRestriction. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed the -actual.txt by appending two blank lines. Created 7 years, 3 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
« 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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) 648 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled)
649 { 649 {
650 m_settings->setShouldRespectImageOrientation(enabled); 650 m_settings->setShouldRespectImageOrientation(enabled);
651 } 651 }
652 652
653 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) 653 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required)
654 { 654 {
655 m_settings->setMediaPlaybackRequiresUserGesture(required); 655 m_settings->setMediaPlaybackRequiresUserGesture(required);
656 } 656 }
657 657
658 void WebSettingsImpl::setMediaFullscreenRequiresUserGesture(bool required)
659 {
660 m_settings->setMediaFullscreenRequiresUserGesture(required);
661 }
662
658 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates) 663 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates)
659 { 664 {
660 m_settings->setFixedPositionCreatesStackingContext(creates); 665 m_settings->setFixedPositionCreatesStackingContext(creates);
661 } 666 }
662 667
663 void WebSettingsImpl::setViewportEnabled(bool enabled) 668 void WebSettingsImpl::setViewportEnabled(bool enabled)
664 { 669 {
665 m_settings->setViewportEnabled(enabled); 670 m_settings->setViewportEnabled(enabled);
666 } 671 }
667 672
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 { 719 {
715 m_settings->setPinchVirtualViewportEnabled(enabled); 720 m_settings->setPinchVirtualViewportEnabled(enabled);
716 } 721 }
717 722
718 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 723 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
719 { 724 {
720 m_settings->setUseSolidColorScrollbars(enabled); 725 m_settings->setUseSolidColorScrollbars(enabled);
721 } 726 }
722 727
723 } // namespace WebKit 728 } // namespace WebKit
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