| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 void setCursiveFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON)
; | 79 void setCursiveFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON)
; |
| 80 const AtomicString& cursiveFontFamily(UScriptCode = USCRIPT_COMMON) const; | 80 const AtomicString& cursiveFontFamily(UScriptCode = USCRIPT_COMMON) const; |
| 81 | 81 |
| 82 void setFantasyFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON)
; | 82 void setFantasyFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMMON)
; |
| 83 const AtomicString& fantasyFontFamily(UScriptCode = USCRIPT_COMMON) const; | 83 const AtomicString& fantasyFontFamily(UScriptCode = USCRIPT_COMMON) const; |
| 84 | 84 |
| 85 void setPictographFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMM
ON); | 85 void setPictographFontFamily(const AtomicString&, UScriptCode = USCRIPT_COMM
ON); |
| 86 const AtomicString& pictographFontFamily(UScriptCode = USCRIPT_COMMON) const
; | 86 const AtomicString& pictographFontFamily(UScriptCode = USCRIPT_COMMON) const
; |
| 87 | 87 |
| 88 void setTextAutosizingEnabled(bool); | 88 void setTextAutosizingEnabled(bool); |
| 89 bool textAutosizingEnabled() const { return m_textAutosizingEnabled; } | 89 bool textAutosizingEnabled() const; |
| 90 | 90 |
| 91 void setTextAutosizingFontScaleFactor(float); | 91 void setTextAutosizingFontScaleFactor(float); |
| 92 float textAutosizingFontScaleFactor() const { return m_textAutosizingFontSca
leFactor; } | 92 float textAutosizingFontScaleFactor() const { return m_textAutosizingFontSca
leFactor; } |
| 93 | 93 |
| 94 // Only set by Layout Tests, and only used if textAutosizingEnabled() return
s true. | 94 // Only set by Layout Tests, and only used if textAutosizingEnabled() return
s true. |
| 95 void setTextAutosizingWindowSizeOverride(const IntSize&); | 95 void setTextAutosizingWindowSizeOverride(const IntSize&); |
| 96 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutos
izingWindowSizeOverride; } | 96 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutos
izingWindowSizeOverride; } |
| 97 | 97 |
| 98 void setUseWideViewport(bool); | 98 void setUseWideViewport(bool); |
| 99 bool useWideViewport() const { return m_useWideViewport; } | 99 bool useWideViewport() const { return m_useWideViewport; } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // overflow scroll is ready (crbug.com/254111). | 190 // overflow scroll is ready (crbug.com/254111). |
| 191 bool m_compositorDrivenAcceleratedScrollingEnabled : 1; | 191 bool m_compositorDrivenAcceleratedScrollingEnabled : 1; |
| 192 | 192 |
| 193 Timer<Settings> m_setImageLoadingSettingsTimer; | 193 Timer<Settings> m_setImageLoadingSettingsTimer; |
| 194 void imageLoadingSettingsTimerFired(Timer<Settings>*); | 194 void imageLoadingSettingsTimerFired(Timer<Settings>*); |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace WebCore | 197 } // namespace WebCore |
| 198 | 198 |
| 199 #endif // Settings_h | 199 #endif // Settings_h |
| OLD | NEW |