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

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

Issue 110913005: Revert of Blend background with existing content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/WebViewTest.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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698