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

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

Issue 2640023008: Enabling autoplay and fullscreen for downloaded media (Closed)
Patch Set: removed include Created 3 years, 9 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
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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 631
632 void WebSettingsImpl::setMediaPlaybackGestureWhitelistScope( 632 void WebSettingsImpl::setMediaPlaybackGestureWhitelistScope(
633 const WebString& scope) { 633 const WebString& scope) {
634 m_settings->setMediaPlaybackGestureWhitelistScope(scope); 634 m_settings->setMediaPlaybackGestureWhitelistScope(scope);
635 } 635 }
636 636
637 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) { 637 void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) {
638 m_settings->setPresentationRequiresUserGesture(required); 638 m_settings->setPresentationRequiresUserGesture(required);
639 } 639 }
640 640
641 void WebSettingsImpl::setEmbeddedMediaExperienceEnabled(bool enabled) {
642 m_settings->setEmbeddedMediaExperienceEnabled(enabled);
643 }
644
641 void WebSettingsImpl::setViewportEnabled(bool enabled) { 645 void WebSettingsImpl::setViewportEnabled(bool enabled) {
642 m_settings->setViewportEnabled(enabled); 646 m_settings->setViewportEnabled(enabled);
643 } 647 }
644 648
645 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) { 649 void WebSettingsImpl::setViewportMetaEnabled(bool enabled) {
646 m_settings->setViewportMetaEnabled(enabled); 650 m_settings->setViewportMetaEnabled(enabled);
647 } 651 }
648 652
649 void WebSettingsImpl::setSyncXHRInDocumentsEnabled(bool enabled) { 653 void WebSettingsImpl::setSyncXHRInDocumentsEnabled(bool enabled) {
650 m_settings->setSyncXHRInDocumentsEnabled(enabled); 654 m_settings->setSyncXHRInDocumentsEnabled(enabled);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 726
723 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 727 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
724 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 728 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
725 } 729 }
726 730
727 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { 731 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) {
728 m_settings->setMediaControlsEnabled(enabled); 732 m_settings->setMediaControlsEnabled(enabled);
729 } 733 }
730 734
731 } // namespace blink 735 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698