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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 | 62 |
63 // FIXME: This does not belong here. | 63 // FIXME: This does not belong here. |
64 static void setMockScrollbarsEnabled(bool flag); | 64 static void setMockScrollbarsEnabled(bool flag); |
65 static bool mockScrollbarsEnabled(); | 65 static bool mockScrollbarsEnabled(); |
66 | 66 |
67 // FIXME: naming_utilities.py isn't smart enough to handle OpenGL yet. | 67 // FIXME: naming_utilities.py isn't smart enough to handle OpenGL yet. |
68 // It could handle "GL", but that seems a bit overly broad. | 68 // It could handle "GL", but that seems a bit overly broad. |
69 void setOpenGLMultisamplingEnabled(bool flag); | 69 void setOpenGLMultisamplingEnabled(bool flag); |
70 bool openGLMultisamplingEnabled() { return m_openGLMultisamplingEnabled; } | 70 bool openGLMultisamplingEnabled() { return m_openGLMultisamplingEnabled; } |
71 | 71 |
72 void setTextTracksEnabled(bool); | |
tkent
2015/04/29 23:58:44
No need to add manually-written functions.
Add the
srivats
2015/05/01 23:03:31
Done.
| |
73 bool textTracksEnabled() const { return m_textTracksEnabled; } | |
74 | |
72 void setDelegate(SettingsDelegate*); | 75 void setDelegate(SettingsDelegate*); |
73 | 76 |
74 private: | 77 private: |
75 Settings(); | 78 Settings(); |
76 | 79 |
77 void invalidate(SettingsDelegate::ChangeType); | 80 void invalidate(SettingsDelegate::ChangeType); |
78 | 81 |
79 SettingsDelegate* m_delegate; | 82 SettingsDelegate* m_delegate; |
80 | 83 |
81 GenericFontFamilySettings m_genericFontFamilySettings; | 84 GenericFontFamilySettings m_genericFontFamilySettings; |
82 bool m_openGLMultisamplingEnabled : 1; | 85 bool m_openGLMultisamplingEnabled : 1; |
83 IntSize m_textAutosizingWindowSizeOverride; | 86 IntSize m_textAutosizingWindowSizeOverride; |
84 bool m_textAutosizingEnabled : 1; | 87 bool m_textAutosizingEnabled : 1; |
88 bool m_textTracksEnabled : 1; | |
85 | 89 |
86 SETTINGS_MEMBER_VARIABLES | 90 SETTINGS_MEMBER_VARIABLES |
87 }; | 91 }; |
88 | 92 |
89 } // namespace blink | 93 } // namespace blink |
90 | 94 |
91 #endif // Settings_h | 95 #endif // Settings_h |
OLD | NEW |