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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 void WebSettingsImpl::setPerTilePaintingEnabled(bool enabled) | 621 void WebSettingsImpl::setPerTilePaintingEnabled(bool enabled) |
622 { | 622 { |
623 m_perTilePaintingEnabled = enabled; | 623 m_perTilePaintingEnabled = enabled; |
624 } | 624 } |
625 | 625 |
626 void WebSettingsImpl::setShouldPrintBackgrounds(bool enabled) | 626 void WebSettingsImpl::setShouldPrintBackgrounds(bool enabled) |
627 { | 627 { |
628 m_settings->setShouldPrintBackgrounds(enabled); | 628 m_settings->setShouldPrintBackgrounds(enabled); |
629 } | 629 } |
630 | 630 |
| 631 void WebSettingsImpl::setShouldClearDocumentBackground(bool enabled) |
| 632 { |
| 633 m_settings->setShouldClearDocumentBackground(enabled); |
| 634 } |
| 635 |
631 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) | 636 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) |
632 { | 637 { |
633 m_settings->setScrollAnimatorEnabled(enabled); | 638 m_settings->setScrollAnimatorEnabled(enabled); |
634 } | 639 } |
635 | 640 |
636 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) | 641 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) |
637 { | 642 { |
638 m_settings->setTouchAdjustmentEnabled(enabled); | 643 m_settings->setTouchAdjustmentEnabled(enabled); |
639 } | 644 } |
640 | 645 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 { | 772 { |
768 m_settings->setUseSolidColorScrollbars(enabled); | 773 m_settings->setUseSolidColorScrollbars(enabled); |
769 } | 774 } |
770 | 775 |
771 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 776 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
772 { | 777 { |
773 m_mainFrameResizesAreOrientationChanges = enabled; | 778 m_mainFrameResizesAreOrientationChanges = enabled; |
774 } | 779 } |
775 | 780 |
776 } // namespace blink | 781 } // namespace blink |
OLD | NEW |