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

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

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: rebased Created 4 years 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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 } 519 }
520 520
521 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) { 521 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) {
522 m_settings->setHistoryEntryRequiresUserGesture(enabled); 522 m_settings->setHistoryEntryRequiresUserGesture(enabled);
523 } 523 }
524 524
525 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) { 525 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) {
526 m_settings->setHyperlinkAuditingEnabled(enabled); 526 m_settings->setHyperlinkAuditingEnabled(enabled);
527 } 527 }
528 528
529 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) {
530 m_settings->setAutoplayExperimentMode(mode);
531 }
532
533 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue) { 529 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue) {
534 m_settings->setValidationMessageTimerMagnification(newValue); 530 m_settings->setValidationMessageTimerMagnification(newValue);
535 } 531 }
536 532
537 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled) { 533 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled) {
538 m_settings->setAllowRunningOfInsecureContent(enabled); 534 m_settings->setAllowRunningOfInsecureContent(enabled);
539 } 535 }
540 536
541 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled) { 537 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled) {
542 m_settings->setDisableReadingFromCanvas(enabled); 538 m_settings->setDisableReadingFromCanvas(enabled);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( 708 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget(
713 float maxBudget) { 709 float maxBudget) {
714 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; 710 m_expensiveBackgroundThrottlingMaxBudget = maxBudget;
715 } 711 }
716 712
717 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
718 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 714 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
719 } 715 }
720 716
721 } // namespace blink 717 } // 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