| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 void Settings::setHiddenPageDOMTimerAlignmentInterval(double hiddenPageDOMTimerA
lignmentinterval) | 217 void Settings::setHiddenPageDOMTimerAlignmentInterval(double hiddenPageDOMTimerA
lignmentinterval) |
| 218 { | 218 { |
| 219 gHiddenPageDOMTimerAlignmentInterval = hiddenPageDOMTimerAlignmentinterval; | 219 gHiddenPageDOMTimerAlignmentInterval = hiddenPageDOMTimerAlignmentinterval; |
| 220 } | 220 } |
| 221 | 221 |
| 222 double Settings::hiddenPageDOMTimerAlignmentInterval() | 222 double Settings::hiddenPageDOMTimerAlignmentInterval() |
| 223 { | 223 { |
| 224 return gHiddenPageDOMTimerAlignmentInterval; | 224 return gHiddenPageDOMTimerAlignmentInterval; |
| 225 } | 225 } |
| 226 | 226 |
| 227 #if !PLATFORM(MAC) && !PLATFORM(BLACKBERRY) | 227 #if !PLATFORM(MAC) |
| 228 void Settings::initializeDefaultFontFamilies() | 228 void Settings::initializeDefaultFontFamilies() |
| 229 { | 229 { |
| 230 // Other platforms can set up fonts from a client, but on Mac, we want it in
WebCore to share code between WebKit1 and WebKit2. | 230 // Other platforms can set up fonts from a client, but on Mac, we want it in
WebCore to share code between WebKit1 and WebKit2. |
| 231 } | 231 } |
| 232 #endif | 232 #endif |
| 233 | 233 |
| 234 const AtomicString& Settings::standardFontFamily(UScriptCode script) const | 234 const AtomicString& Settings::standardFontFamily(UScriptCode script) const |
| 235 { | 235 { |
| 236 return getGenericFontFamilyForScript(m_standardFontFamilyMap, script); | 236 return getGenericFontFamilyForScript(m_standardFontFamilyMap, script); |
| 237 } | 237 } |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 void Settings::setHiddenPageCSSAnimationSuspensionEnabled(bool flag) | 617 void Settings::setHiddenPageCSSAnimationSuspensionEnabled(bool flag) |
| 618 { | 618 { |
| 619 if (m_hiddenPageCSSAnimationSuspensionEnabled == flag) | 619 if (m_hiddenPageCSSAnimationSuspensionEnabled == flag) |
| 620 return; | 620 return; |
| 621 m_hiddenPageCSSAnimationSuspensionEnabled = flag; | 621 m_hiddenPageCSSAnimationSuspensionEnabled = flag; |
| 622 m_page->hiddenPageCSSAnimationSuspensionStateChanged(); | 622 m_page->hiddenPageCSSAnimationSuspensionStateChanged(); |
| 623 } | 623 } |
| 624 #endif | 624 #endif |
| 625 | 625 |
| 626 } // namespace WebCore | 626 } // namespace WebCore |
| OLD | NEW |