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

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

Issue 204093002: GraphicsContext culling support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop GC cull stack, misc fixes. Created 6 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 | 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 515 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
516 { 516 {
517 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 517 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
518 } 518 }
519 519
520 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) 520 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
521 { 521 {
522 m_settings->setAntialiased2dCanvasEnabled(enabled); 522 m_settings->setAntialiased2dCanvasEnabled(enabled);
523 } 523 }
524 524
525 void WebSettingsImpl::setContainerCullingEnabled(bool enabled)
526 {
527 m_settings->setContainerCullingEnabled(enabled);
528 }
529
525 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled) 530 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled)
526 { 531 {
527 DeferredImageDecoder::setEnabled(enabled); 532 DeferredImageDecoder::setEnabled(enabled);
528 m_deferredImageDecodingEnabled = enabled; 533 m_deferredImageDecodingEnabled = enabled;
529 } 534 }
530 535
531 void WebSettingsImpl::setDeferredFiltersEnabled(bool enabled) 536 void WebSettingsImpl::setDeferredFiltersEnabled(bool enabled)
532 { 537 {
533 m_settings->setDeferredFiltersEnabled(enabled); 538 m_settings->setDeferredFiltersEnabled(enabled);
534 } 539 }
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 { 747 {
743 m_settings->setUseSolidColorScrollbars(enabled); 748 m_settings->setUseSolidColorScrollbars(enabled);
744 } 749 }
745 750
746 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 751 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
747 { 752 {
748 m_mainFrameResizesAreOrientationChanges = enabled; 753 m_mainFrameResizesAreOrientationChanges = enabled;
749 } 754 }
750 755
751 } // namespace blink 756 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698