| OLD | NEW |
| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 #endif | 131 #endif |
| 132 SETTINGS_INITIALIZER_LIST | 132 SETTINGS_INITIALIZER_LIST |
| 133 , m_isJavaEnabled(false) | 133 , m_isJavaEnabled(false) |
| 134 , m_loadsImagesAutomatically(false) | 134 , m_loadsImagesAutomatically(false) |
| 135 , m_areImagesEnabled(true) | 135 , m_areImagesEnabled(true) |
| 136 , m_arePluginsEnabled(false) | 136 , m_arePluginsEnabled(false) |
| 137 , m_isScriptEnabled(false) | 137 , m_isScriptEnabled(false) |
| 138 , m_fontRenderingMode(0) | 138 , m_fontRenderingMode(0) |
| 139 , m_isCSSCustomFilterEnabled(false) | 139 , m_isCSSCustomFilterEnabled(false) |
| 140 , m_cssStickyPositionEnabled(true) | 140 , m_cssStickyPositionEnabled(true) |
| 141 , m_cssVariablesEnabled(false) | |
| 142 , m_dnsPrefetchingEnabled(false) | 141 , m_dnsPrefetchingEnabled(false) |
| 143 , m_touchEventEmulationEnabled(false) | 142 , m_touchEventEmulationEnabled(false) |
| 144 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) | 143 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) |
| 145 { | 144 { |
| 146 // A Frame may not have been created yet, so we initialize the AtomicString | 145 // A Frame may not have been created yet, so we initialize the AtomicString |
| 147 // hash before trying to use it. | 146 // hash before trying to use it. |
| 148 AtomicString::init(); | 147 AtomicString::init(); |
| 149 initializeDefaultFontFamilies(); | 148 initializeDefaultFontFamilies(); |
| 150 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. | 149 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. |
| 151 } | 150 } |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 { | 374 { |
| 376 gUsesOverlayScrollbars = flag; | 375 gUsesOverlayScrollbars = flag; |
| 377 } | 376 } |
| 378 | 377 |
| 379 bool Settings::usesOverlayScrollbars() | 378 bool Settings::usesOverlayScrollbars() |
| 380 { | 379 { |
| 381 return gUsesOverlayScrollbars; | 380 return gUsesOverlayScrollbars; |
| 382 } | 381 } |
| 383 | 382 |
| 384 } // namespace WebCore | 383 } // namespace WebCore |
| OLD | NEW |