| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 #endif | 219 #endif |
| 220 | 220 |
| 221 void setTiledBackingStoreEnabled(bool); | 221 void setTiledBackingStoreEnabled(bool); |
| 222 bool tiledBackingStoreEnabled() const { return m_tiledBackingStoreEnable
d; } | 222 bool tiledBackingStoreEnabled() const { return m_tiledBackingStoreEnable
d; } |
| 223 | 223 |
| 224 #if USE(AVFOUNDATION) | 224 #if USE(AVFOUNDATION) |
| 225 static void setAVFoundationEnabled(bool flag); | 225 static void setAVFoundationEnabled(bool flag); |
| 226 static bool isAVFoundationEnabled() { return gAVFoundationEnabled; } | 226 static bool isAVFoundationEnabled() { return gAVFoundationEnabled; } |
| 227 #endif | 227 #endif |
| 228 | 228 |
| 229 #if PLATFORM(MAC) || (PLATFORM(QT) && USE(QTKIT)) | |
| 230 static void setQTKitEnabled(bool flag); | |
| 231 static bool isQTKitEnabled() { return gQTKitEnabled; } | |
| 232 #endif | |
| 233 | |
| 234 static const unsigned defaultMaximumHTMLParserDOMTreeDepth = 512; | 229 static const unsigned defaultMaximumHTMLParserDOMTreeDepth = 512; |
| 235 | 230 |
| 236 #if USE(SAFARI_THEME) | 231 #if USE(SAFARI_THEME) |
| 237 // Windows debugging pref (global) for switching between the Aqua look a
nd a native windows look. | 232 // Windows debugging pref (global) for switching between the Aqua look a
nd a native windows look. |
| 238 static void setShouldPaintNativeControls(bool); | 233 static void setShouldPaintNativeControls(bool); |
| 239 static bool shouldPaintNativeControls() { return gShouldPaintNativeContr
ols; } | 234 static bool shouldPaintNativeControls() { return gShouldPaintNativeContr
ols; } |
| 240 #endif | 235 #endif |
| 241 | 236 |
| 242 static void setMockScrollbarsEnabled(bool flag); | 237 static void setMockScrollbarsEnabled(bool flag); |
| 243 static bool mockScrollbarsEnabled(); | 238 static bool mockScrollbarsEnabled(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) | 347 #if PLATFORM(WIN) || (OS(WINDOWS) && PLATFORM(WX)) |
| 353 static bool gShouldUseHighResolutionTimers; | 348 static bool gShouldUseHighResolutionTimers; |
| 354 #endif | 349 #endif |
| 355 | 350 |
| 356 static double gHiddenPageDOMTimerAlignmentInterval; | 351 static double gHiddenPageDOMTimerAlignmentInterval; |
| 357 }; | 352 }; |
| 358 | 353 |
| 359 } // namespace WebCore | 354 } // namespace WebCore |
| 360 | 355 |
| 361 #endif // Settings_h | 356 #endif // Settings_h |
| OLD | NEW |