| 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) | |
| 155 , m_touchEventEmulationEnabled(false) | 154 , m_touchEventEmulationEnabled(false) |
| 156 #endif | |
| 157 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) | 155 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) |
| 158 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) | 156 #if ENABLE(HIDDEN_PAGE_DOM_TIMER_THROTTLING) |
| 159 , m_hiddenPageDOMTimerThrottlingEnabled(false) | 157 , m_hiddenPageDOMTimerThrottlingEnabled(false) |
| 160 #endif | 158 #endif |
| 161 { | 159 { |
| 162 // A Frame may not have been created yet, so we initialize the AtomicString | 160 // A Frame may not have been created yet, so we initialize the AtomicString |
| 163 // hash before trying to use it. | 161 // hash before trying to use it. |
| 164 AtomicString::init(); | 162 AtomicString::init(); |
| 165 initializeDefaultFontFamilies(); | 163 initializeDefaultFontFamilies(); |
| 166 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. | 164 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... |
| 465 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) | 463 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) |
| 466 { | 464 { |
| 467 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) | 465 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) |
| 468 return; | 466 return; |
| 469 m_hiddenPageDOMTimerThrottlingEnabled = flag; | 467 m_hiddenPageDOMTimerThrottlingEnabled = flag; |
| 470 m_page->hiddenPageDOMTimerThrottlingStateChanged(); | 468 m_page->hiddenPageDOMTimerThrottlingStateChanged(); |
| 471 } | 469 } |
| 472 #endif | 470 #endif |
| 473 | 471 |
| 474 } // namespace WebCore | 472 } // namespace WebCore |
| OLD | NEW |