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

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

Issue 2359843003: Turning on clip anti-aliasing by default in Chrome. (Closed)
Patch Set: Adding the layout test. Created 4 years, 3 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 540 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
541 { 541 {
542 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 542 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
543 } 543 }
544 544
545 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) 545 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
546 { 546 {
547 m_settings->setAntialiased2dCanvasEnabled(enabled); 547 m_settings->setAntialiased2dCanvasEnabled(enabled);
548 } 548 }
549 549
550 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) 550 void WebSettingsImpl::setAntialiasedClips2dCanvasDisabled(bool disabled)
551 { 551 {
552 m_settings->setAntialiasedClips2dCanvasEnabled(enabled); 552 m_settings->setAntialiasedClips2dCanvasDisabled(disabled);
553 } 553 }
554 554
555 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) 555 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled)
556 { 556 {
557 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); 557 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled);
558 } 558 }
559 559
560 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) 560 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels)
561 { 561 {
562 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 562 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 { 792 {
793 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 793 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
794 } 794 }
795 795
796 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 796 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
797 { 797 {
798 m_devToolsEmulator->setViewportStyle(style); 798 m_devToolsEmulator->setViewportStyle(style);
799 } 799 }
800 800
801 } // namespace blink 801 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698