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

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

Issue 309593007: Expand GPU rasterization trigger for Finch experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use a WebSetting Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 , m_inspectorController(inspectorController) 47 , m_inspectorController(inspectorController)
48 , m_showFPSCounter(false) 48 , m_showFPSCounter(false)
49 , m_showPaintRects(false) 49 , m_showPaintRects(false)
50 , m_renderVSyncNotificationEnabled(false) 50 , m_renderVSyncNotificationEnabled(false)
51 , m_gestureTapHighlightEnabled(true) 51 , m_gestureTapHighlightEnabled(true)
52 , m_autoZoomFocusedNodeToLegibleScale(false) 52 , m_autoZoomFocusedNodeToLegibleScale(false)
53 , m_deferredImageDecodingEnabled(false) 53 , m_deferredImageDecodingEnabled(false)
54 , m_doubleTapToZoomEnabled(false) 54 , m_doubleTapToZoomEnabled(false)
55 , m_supportDeprecatedTargetDensityDPI(false) 55 , m_supportDeprecatedTargetDensityDPI(false)
56 , m_shrinksViewportContentToFit(false) 56 , m_shrinksViewportContentToFit(false)
57 , m_useExpandedHeuristicsForGpuRasterization(false)
57 , m_viewportMetaLayoutSizeQuirk(false) 58 , m_viewportMetaLayoutSizeQuirk(false)
58 , m_viewportMetaNonUserScalableQuirk(false) 59 , m_viewportMetaNonUserScalableQuirk(false)
59 , m_clobberUserAgentInitialScaleQuirk(false) 60 , m_clobberUserAgentInitialScaleQuirk(false)
60 , m_mainFrameResizesAreOrientationChanges(false) 61 , m_mainFrameResizesAreOrientationChanges(false)
61 { 62 {
62 ASSERT(settings); 63 ASSERT(settings);
63 } 64 }
64 65
65 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) 66 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript)
66 { 67 {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 void WebSettingsImpl::setJavaEnabled(bool enabled) 283 void WebSettingsImpl::setJavaEnabled(bool enabled)
283 { 284 {
284 m_settings->setJavaEnabled(enabled); 285 m_settings->setJavaEnabled(enabled);
285 } 286 }
286 287
287 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) 288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow)
288 { 289 {
289 m_settings->setAllowScriptsToCloseWindows(allow); 290 m_settings->setAllowScriptsToCloseWindows(allow);
290 } 291 }
291 292
293 void WebSettingsImpl::setUseExpandedHeuristicsForGpuRasterization(bool useExpand edHeuristics)
294 {
295 m_useExpandedHeuristicsForGpuRasterization = useExpandedHeuristics;
296 }
297
292 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior) 298 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior)
293 { 299 {
294 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior); 300 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior);
295 } 301 }
296 302
297 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) 303 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled)
298 { 304 {
299 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); 305 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled);
300 } 306 }
301 307
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 { 706 {
701 m_settings->setUseSolidColorScrollbars(enabled); 707 m_settings->setUseSolidColorScrollbars(enabled);
702 } 708 }
703 709
704 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
705 { 711 {
706 m_mainFrameResizesAreOrientationChanges = enabled; 712 m_mainFrameResizesAreOrientationChanges = enabled;
707 } 713 }
708 714
709 } // namespace blink 715 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698