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