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

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

Issue 2500273003: Presentation API: add settings for presentation.receiver being exposed. (Closed)
Patch Set: update property-access-tests and rebase 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } 507 }
508 508
509 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) { 509 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
510 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 510 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
511 } 511 }
512 512
513 void WebSettingsImpl::setHideDownloadUI(bool hide) { 513 void WebSettingsImpl::setHideDownloadUI(bool hide) {
514 m_settings->setHideDownloadUI(hide); 514 m_settings->setHideDownloadUI(hide);
515 } 515 }
516 516
517 void WebSettingsImpl::setPresentationReceiver(bool enabled) {
518 m_settings->setPresentationReceiver(enabled);
519 }
520
517 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) { 521 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) {
518 m_settings->setHistoryEntryRequiresUserGesture(enabled); 522 m_settings->setHistoryEntryRequiresUserGesture(enabled);
519 } 523 }
520 524
521 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) { 525 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) {
522 m_settings->setHyperlinkAuditingEnabled(enabled); 526 m_settings->setHyperlinkAuditingEnabled(enabled);
523 } 527 }
524 528
525 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) { 529 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) {
526 m_settings->setAutoplayExperimentMode(mode); 530 m_settings->setAutoplayExperimentMode(mode);
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( 712 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget(
709 float maxBudget) { 713 float maxBudget) {
710 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; 714 m_expensiveBackgroundThrottlingMaxBudget = maxBudget;
711 } 715 }
712 716
713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 717 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
714 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 718 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
715 } 719 }
716 720
717 } // namespace blink 721 } // 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