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

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

Issue 476273003: Rename acceleratedCompositingForFixedPosition to preferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-fixedpos: rebase Created 6 years, 4 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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 { 481 {
482 DeferredImageDecoder::setEnabled(enabled); 482 DeferredImageDecoder::setEnabled(enabled);
483 m_deferredImageDecodingEnabled = enabled; 483 m_deferredImageDecodingEnabled = enabled;
484 } 484 }
485 485
486 void WebSettingsImpl::setDeferredFiltersEnabled(bool enabled) 486 void WebSettingsImpl::setDeferredFiltersEnabled(bool enabled)
487 { 487 {
488 m_settings->setDeferredFiltersEnabled(enabled); 488 m_settings->setDeferredFiltersEnabled(enabled);
489 } 489 }
490 490
491 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled)
492 {
493 m_settings->setPreferCompositingToLCDTextEnabled(enabled);
494 }
495
496 // TODO(danakj): Remove this method.
491 void WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled(bool enab led) 497 void WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled(bool enab led)
492 { 498 {
493 m_settings->setAcceleratedCompositingForFixedPositionEnabled(enabled); 499 m_settings->setPreferCompositingToLCDTextEnabled(enabled);
494 } 500 }
495 501
496 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) 502 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels)
497 { 503 {
498 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 504 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
499 } 505 }
500 506
501 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) 507 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled)
502 { 508 {
503 m_settings->setHyperlinkAuditingEnabled(enabled); 509 m_settings->setHyperlinkAuditingEnabled(enabled);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 { 693 {
688 m_settings->setDisallowFullscreenForNonMediaElements(enabled); 694 m_settings->setDisallowFullscreenForNonMediaElements(enabled);
689 } 695 }
690 696
691 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 697 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
692 { 698 {
693 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 699 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
694 } 700 }
695 701
696 } // namespace blink 702 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698