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

Side by Side Diff: Source/core/page/Settings.cpp

Issue 15687004: Switching CSS Variables over to RuntimeEnabledFeatures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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/core/page/Settings.h ('k') | Source/core/testing/InternalSettings.h » ('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) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv ed.
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 , m_loadWithOverviewMode(true) 134 , m_loadWithOverviewMode(true)
135 SETTINGS_INITIALIZER_LIST 135 SETTINGS_INITIALIZER_LIST
136 , m_isJavaEnabled(false) 136 , m_isJavaEnabled(false)
137 , m_loadsImagesAutomatically(false) 137 , m_loadsImagesAutomatically(false)
138 , m_areImagesEnabled(true) 138 , m_areImagesEnabled(true)
139 , m_arePluginsEnabled(false) 139 , m_arePluginsEnabled(false)
140 , m_isScriptEnabled(false) 140 , m_isScriptEnabled(false)
141 , m_fontRenderingMode(0) 141 , m_fontRenderingMode(0)
142 , m_isCSSCustomFilterEnabled(false) 142 , m_isCSSCustomFilterEnabled(false)
143 , m_cssStickyPositionEnabled(true) 143 , m_cssStickyPositionEnabled(true)
144 , m_cssVariablesEnabled(false)
145 , m_dnsPrefetchingEnabled(false) 144 , m_dnsPrefetchingEnabled(false)
146 , m_touchEventEmulationEnabled(false) 145 , m_touchEventEmulationEnabled(false)
147 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired) 146 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF ired)
148 { 147 {
149 // A Frame may not have been created yet, so we initialize the AtomicString 148 // A Frame may not have been created yet, so we initialize the AtomicString
150 // hash before trying to use it. 149 // hash before trying to use it.
151 AtomicString::init(); 150 AtomicString::init();
152 initializeDefaultFontFamilies(); 151 initializeDefaultFontFamilies();
153 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call. 152 m_page = page; // Page is not yet fully initialized wen constructing Setting s, so keeping m_page null over initializeDefaultFontFamilies() call.
154 } 153 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 m_openGLMultisamplingEnabled = flag; 402 m_openGLMultisamplingEnabled = flag;
404 m_page->multisamplingChanged(); 403 m_page->multisamplingChanged();
405 } 404 }
406 405
407 bool Settings::openGLMultisamplingEnabled() 406 bool Settings::openGLMultisamplingEnabled()
408 { 407 {
409 return m_openGLMultisamplingEnabled; 408 return m_openGLMultisamplingEnabled;
410 } 409 }
411 410
412 } // namespace WebCore 411 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/Settings.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698