| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 void setPluginsEnabled(bool); | 133 void setPluginsEnabled(bool); |
| 134 bool arePluginsEnabled() const { return m_arePluginsEnabled; } | 134 bool arePluginsEnabled() const { return m_arePluginsEnabled; } |
| 135 | 135 |
| 136 void setDNSPrefetchingEnabled(bool); | 136 void setDNSPrefetchingEnabled(bool); |
| 137 bool dnsPrefetchingEnabled() const { return m_dnsPrefetchingEnabled; } | 137 bool dnsPrefetchingEnabled() const { return m_dnsPrefetchingEnabled; } |
| 138 | 138 |
| 139 void setUserStyleSheetLocation(const KURL&); | 139 void setUserStyleSheetLocation(const KURL&); |
| 140 const KURL& userStyleSheetLocation() const { return m_userStyleSheetLoca
tion; } | 140 const KURL& userStyleSheetLocation() const { return m_userStyleSheetLoca
tion; } |
| 141 | 141 |
| 142 // FIXME: Remove these, PageCache is dead. | |
| 143 void setUsesPageCache(bool) { } | |
| 144 bool usesPageCache() const { return false; } | |
| 145 | |
| 146 void setFontRenderingMode(FontRenderingMode mode); | 142 void setFontRenderingMode(FontRenderingMode mode); |
| 147 FontRenderingMode fontRenderingMode() const; | 143 FontRenderingMode fontRenderingMode() const; |
| 148 | 144 |
| 149 void setCSSCustomFilterEnabled(bool enabled) { m_isCSSCustomFilterEnable
d = enabled; } | 145 void setCSSCustomFilterEnabled(bool enabled) { m_isCSSCustomFilterEnable
d = enabled; } |
| 150 bool isCSSCustomFilterEnabled() const { return m_isCSSCustomFilterEnable
d; } | 146 bool isCSSCustomFilterEnabled() const { return m_isCSSCustomFilterEnable
d; } |
| 151 | 147 |
| 152 void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnab
led = enabled; } | 148 void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnab
led = enabled; } |
| 153 bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnable
d; } | 149 bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnable
d; } |
| 154 | 150 |
| 155 void setCSSVariablesEnabled(bool enabled) { m_cssVariablesEnabled = enab
led; } | 151 void setCSSVariablesEnabled(bool enabled) { m_cssVariablesEnabled = enab
led; } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 static bool gUsesOverlayScrollbars; | 203 static bool gUsesOverlayScrollbars; |
| 208 | 204 |
| 209 #if USE(SAFARI_THEME) | 205 #if USE(SAFARI_THEME) |
| 210 static bool gShouldPaintNativeControls; | 206 static bool gShouldPaintNativeControls; |
| 211 #endif | 207 #endif |
| 212 }; | 208 }; |
| 213 | 209 |
| 214 } // namespace WebCore | 210 } // namespace WebCore |
| 215 | 211 |
| 216 #endif // Settings_h | 212 #endif // Settings_h |
| OLD | NEW |