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

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

Issue 379253002: Initial implementation of display list backed 2D canvases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tiny fix Created 6 years, 5 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 | Annotate | Revision Log
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled) 459 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled)
460 { 460 {
461 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled); 461 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled);
462 } 462 }
463 463
464 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled) 464 void WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled(bool enabled)
465 { 465 {
466 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled); 466 m_settings->setAcceleratedCompositingForCanvasEnabled(enabled);
467 } 467 }
468 468
469 void WebSettingsImpl::setDisplayList2dCanvasEnabled(bool enabled)
470 {
471 m_settings->setDisplayList2dCanvasEnabled(enabled);
472 }
473
469 void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled) 474 void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled)
470 { 475 {
471 m_settings->setAccelerated2dCanvasEnabled(enabled); 476 m_settings->setAccelerated2dCanvasEnabled(enabled);
472 } 477 }
473 478
474 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 479 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
475 { 480 {
476 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 481 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
477 } 482 }
478 483
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 { 716 {
712 m_mainFrameResizesAreOrientationChanges = enabled; 717 m_mainFrameResizesAreOrientationChanges = enabled;
713 } 718 }
714 719
715 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) 720 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
716 { 721 {
717 m_disallowFullscreenForNonMediaElements = enabled; 722 m_disallowFullscreenForNonMediaElements = enabled;
718 } 723 }
719 724
720 } // namespace blink 725 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698