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

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

Issue 23483051: Blend background with existing content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test in android 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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