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

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

Issue 2258523006: Convert Settings::rootLayerScrolls to RuntimeEnabledFeatures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add RAII-style helper to toggle REF. Rebase. Created 4 years, 3 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame OverflowHiddenQuirk) 241 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame OverflowHiddenQuirk)
242 { 242 {
243 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid denQuirk); 243 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid denQuirk);
244 } 244 }
245 245
246 void WebSettingsImpl::setReportScreenSizeInPhysicalPixelsQuirk(bool reportScreen SizeInPhysicalPixelsQuirk) 246 void WebSettingsImpl::setReportScreenSizeInPhysicalPixelsQuirk(bool reportScreen SizeInPhysicalPixelsQuirk)
247 { 247 {
248 m_settings->setReportScreenSizeInPhysicalPixelsQuirk(reportScreenSizeInPhysi calPixelsQuirk); 248 m_settings->setReportScreenSizeInPhysicalPixelsQuirk(reportScreenSizeInPhysi calPixelsQuirk);
249 } 249 }
250 250
251 void WebSettingsImpl::setRootLayerScrolls(bool rootLayerScrolls)
252 {
253 m_settings->setRootLayerScrolls(rootLayerScrolls);
254 }
255
256 void WebSettingsImpl::setRubberBandingOnCompositorThread(bool rubberBandingOnCom positorThread) 251 void WebSettingsImpl::setRubberBandingOnCompositorThread(bool rubberBandingOnCom positorThread)
257 { 252 {
258 } 253 }
259 254
260 void WebSettingsImpl::setClobberUserAgentInitialScaleQuirk(bool clobberUserAgent InitialScaleQuirk) 255 void WebSettingsImpl::setClobberUserAgentInitialScaleQuirk(bool clobberUserAgent InitialScaleQuirk)
261 { 256 {
262 m_clobberUserAgentInitialScaleQuirk = clobberUserAgentInitialScaleQuirk; 257 m_clobberUserAgentInitialScaleQuirk = clobberUserAgentInitialScaleQuirk;
263 } 258 }
264 259
265 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows) 260 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows)
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 { 797 {
803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 798 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
804 } 799 }
805 800
806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 801 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
807 { 802 {
808 m_devToolsEmulator->setViewportStyle(style); 803 m_devToolsEmulator->setViewportStyle(style);
809 } 804 }
810 805
811 } // namespace blink 806 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698