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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 , m_loadsImagesAutomatically(false) | 144 , m_loadsImagesAutomatically(false) |
145 , m_areImagesEnabled(true) | 145 , m_areImagesEnabled(true) |
146 , m_arePluginsEnabled(false) | 146 , m_arePluginsEnabled(false) |
147 , m_isScriptEnabled(false) | 147 , m_isScriptEnabled(false) |
148 , m_usesPageCache(false) | 148 , m_usesPageCache(false) |
149 , m_fontRenderingMode(0) | 149 , m_fontRenderingMode(0) |
150 , m_isCSSCustomFilterEnabled(false) | 150 , m_isCSSCustomFilterEnabled(false) |
151 , m_cssStickyPositionEnabled(true) | 151 , m_cssStickyPositionEnabled(true) |
152 , m_cssVariablesEnabled(false) | 152 , m_cssVariablesEnabled(false) |
153 , m_dnsPrefetchingEnabled(false) | 153 , m_dnsPrefetchingEnabled(false) |
| 154 #if ENABLE(TOUCH_EVENTS) |
154 , m_touchEventEmulationEnabled(false) | 155 , m_touchEventEmulationEnabled(false) |
| 156 #endif |
155 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) | 157 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) |
156 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) | 158 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) |
157 , m_hiddenPageDOMTimerThrottlingEnabled(false) | 159 , m_hiddenPageDOMTimerThrottlingEnabled(false) |
158 #endif | 160 #endif |
159 { | 161 { |
160 // A Frame may not have been created yet, so we initialize the AtomicString | 162 // A Frame may not have been created yet, so we initialize the AtomicString |
161 // hash before trying to use it. | 163 // hash before trying to use it. |
162 AtomicString::init(); | 164 AtomicString::init(); |
163 initializeDefaultFontFamilies(); | 165 initializeDefaultFontFamilies(); |
164 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. | 166 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) | 465 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) |
464 { | 466 { |
465 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) | 467 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) |
466 return; | 468 return; |
467 m_hiddenPageDOMTimerThrottlingEnabled = flag; | 469 m_hiddenPageDOMTimerThrottlingEnabled = flag; |
468 m_page->hiddenPageDOMTimerThrottlingStateChanged(); | 470 m_page->hiddenPageDOMTimerThrottlingStateChanged(); |
469 } | 471 } |
470 #endif | 472 #endif |
471 | 473 |
472 } // namespace WebCore | 474 } // namespace WebCore |
OLD | NEW |