| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |