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

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

Issue 2547013002: Add Intel macOS workaround for WebGL2 canvas_sub_rectangle tests (Closed)
Patch Set: add comments 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 } 495 }
496 496
497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) { 497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) {
498 m_settings->setAntialiased2dCanvasEnabled(enabled); 498 m_settings->setAntialiased2dCanvasEnabled(enabled);
499 } 499 }
500 500
501 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) { 501 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) {
502 m_settings->setAntialiasedClips2dCanvasEnabled(enabled); 502 m_settings->setAntialiasedClips2dCanvasEnabled(enabled);
503 } 503 }
504 504
505 void WebSettingsImpl::setForceRedundant2dCanvasCopy(bool enabled) {
506 m_settings->setForceRedundant2dCanvasCopy(enabled);
507 }
508
505 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) { 509 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) {
506 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); 510 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled);
507 } 511 }
508 512
509 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) { 513 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
510 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 514 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
511 } 515 }
512 516
513 void WebSettingsImpl::setHideDownloadUI(bool hide) { 517 void WebSettingsImpl::setHideDownloadUI(bool hide) {
514 m_settings->setHideDownloadUI(hide); 518 m_settings->setHideDownloadUI(hide);
(...skipping 193 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

Powered by Google App Engine
This is Rietveld 408576698