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

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

Issue 652483003: Plumb in flag to enable antialiased clipping in HTML 5 Canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More cleanup Created 6 years, 2 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
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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 489 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
490 { 490 {
491 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 491 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
492 } 492 }
493 493
494 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) 494 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
495 { 495 {
496 m_settings->setAntialiased2dCanvasEnabled(enabled); 496 m_settings->setAntialiased2dCanvasEnabled(enabled);
497 } 497 }
498 498
499 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled)
500 {
501 m_settings->setAntialiasedClips2dCanvasEnabled(enabled);
502 }
503
499 void WebSettingsImpl::setContainerCullingEnabled(bool enabled) 504 void WebSettingsImpl::setContainerCullingEnabled(bool enabled)
500 { 505 {
501 m_settings->setContainerCullingEnabled(enabled); 506 m_settings->setContainerCullingEnabled(enabled);
502 } 507 }
503 508
504 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled) 509 void WebSettingsImpl::setDeferredImageDecodingEnabled(bool enabled)
505 { 510 {
506 DeferredImageDecoder::setEnabled(enabled); 511 DeferredImageDecoder::setEnabled(enabled);
507 m_deferredImageDecodingEnabled = enabled; 512 m_deferredImageDecodingEnabled = enabled;
508 } 513 }
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 { 736 {
732 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 737 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
733 } 738 }
734 739
735 void WebSettingsImpl::setV8ScriptStreamingEnabled(bool enabled) 740 void WebSettingsImpl::setV8ScriptStreamingEnabled(bool enabled)
736 { 741 {
737 m_settings->setV8ScriptStreamingEnabled(enabled); 742 m_settings->setV8ScriptStreamingEnabled(enabled);
738 } 743 }
739 744
740 } // namespace blink 745 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698