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

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

Issue 2155273002: Make it possible for downstream projects to easily set the default fill color Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fixup Created 4 years, 5 months 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
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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 781 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
782 { 782 {
783 m_settings->setSmartInsertDeleteEnabled(enabled); 783 m_settings->setSmartInsertDeleteEnabled(enabled);
784 } 784 }
785 785
786 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) 786 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
787 { 787 {
788 m_settings->setPinchOverlayScrollbarThickness(thickness); 788 m_settings->setPinchOverlayScrollbarThickness(thickness);
789 } 789 }
790 790
791 void WebSettingsImpl::setDefaultBackgroundColor(WebColor color)
792 {
793 m_settings->setDefaultBackgroundColor(color);
794 }
795
791 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 796 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
792 { 797 {
793 m_settings->setUseSolidColorScrollbars(enabled); 798 m_settings->setUseSolidColorScrollbars(enabled);
794 } 799 }
795 800
796 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 801 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
797 { 802 {
798 m_devToolsEmulator->setMainFrameResizesAreOrientationChanges(enabled); 803 m_devToolsEmulator->setMainFrameResizesAreOrientationChanges(enabled);
799 } 804 }
800 805
801 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 806 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
802 { 807 {
803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 808 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
804 } 809 }
805 810
806 void WebSettingsImpl::setV8CacheStrategiesForCacheStorage(V8CacheStrategiesForCa cheStorage strategies) 811 void WebSettingsImpl::setV8CacheStrategiesForCacheStorage(V8CacheStrategiesForCa cheStorage strategies)
807 { 812 {
808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 813 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
809 } 814 }
810 815
811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 816 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
812 { 817 {
813 m_devToolsEmulator->setViewportStyle(style); 818 m_devToolsEmulator->setViewportStyle(style);
814 } 819 }
815 820
816 } // namespace blink 821 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698