| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // Only set by Layout Tests, and only used if textAutosizingEnabled() return
s true. | 60 // Only set by Layout Tests, and only used if textAutosizingEnabled() return
s true. |
| 61 void setTextAutosizingWindowSizeOverride(const IntSize&); | 61 void setTextAutosizingWindowSizeOverride(const IntSize&); |
| 62 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutos
izingWindowSizeOverride; } | 62 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutos
izingWindowSizeOverride; } |
| 63 | 63 |
| 64 SETTINGS_GETTERS_AND_SETTERS | 64 SETTINGS_GETTERS_AND_SETTERS |
| 65 | 65 |
| 66 // FIXME: This does not belong here. | 66 // FIXME: This does not belong here. |
| 67 static void setMockScrollbarsEnabled(bool flag); | 67 static void setMockScrollbarsEnabled(bool flag); |
| 68 static bool mockScrollbarsEnabled(); | 68 static bool mockScrollbarsEnabled(); |
| 69 | 69 |
| 70 // FIXME: naming_utilities.py isn't smart enough to handle OpenGL yet. | |
| 71 // It could handle "GL", but that seems a bit overly broad. | |
| 72 void setOpenGLMultisamplingEnabled(bool flag); | |
| 73 bool openGLMultisamplingEnabled() { return m_openGLMultisamplingEnabled; } | |
| 74 | |
| 75 void setDelegate(SettingsDelegate*); | 70 void setDelegate(SettingsDelegate*); |
| 76 | 71 |
| 77 private: | 72 private: |
| 78 Settings(); | 73 Settings(); |
| 79 | 74 |
| 80 void invalidate(SettingsDelegate::ChangeType); | 75 void invalidate(SettingsDelegate::ChangeType); |
| 81 | 76 |
| 82 SettingsDelegate* m_delegate; | 77 SettingsDelegate* m_delegate; |
| 83 | 78 |
| 84 GenericFontFamilySettings m_genericFontFamilySettings; | 79 GenericFontFamilySettings m_genericFontFamilySettings; |
| 85 bool m_openGLMultisamplingEnabled : 1; | |
| 86 IntSize m_textAutosizingWindowSizeOverride; | 80 IntSize m_textAutosizingWindowSizeOverride; |
| 87 bool m_textAutosizingEnabled : 1; | 81 bool m_textAutosizingEnabled : 1; |
| 88 | 82 |
| 89 SETTINGS_MEMBER_VARIABLES | 83 SETTINGS_MEMBER_VARIABLES |
| 90 }; | 84 }; |
| 91 | 85 |
| 92 } // namespace blink | 86 } // namespace blink |
| 93 | 87 |
| 94 #endif // Settings_h | 88 #endif // Settings_h |
| OLD | NEW |