OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 void updateThumb(); | 167 void updateThumb(); |
168 virtual void updateThumbPosition(); | 168 virtual void updateThumbPosition(); |
169 virtual void updateThumbProportion(); | 169 virtual void updateThumbProportion(); |
170 | 170 |
171 void autoscrollTimerFired(Timer<Scrollbar>*); | 171 void autoscrollTimerFired(Timer<Scrollbar>*); |
172 void startTimerIfNeeded(double delay); | 172 void startTimerIfNeeded(double delay); |
173 void stopTimerIfNeeded(); | 173 void stopTimerIfNeeded(); |
174 void autoscrollPressedPart(double delay); | 174 void autoscrollPressedPart(double delay); |
175 ScrollDirection pressedPartScrollDirection(); | 175 ScrollDirection pressedPartScrollDirection(); |
176 ScrollGranularity pressedPartScrollGranularity(); | 176 ScrollGranularity pressedPartScrollGranularity(); |
177 | 177 |
178 ScrollableArea* m_scrollableArea; | 178 ScrollableArea* m_scrollableArea; |
179 ScrollbarOrientation m_orientation; | 179 ScrollbarOrientation m_orientation; |
180 ScrollbarControlSize m_controlSize; | 180 ScrollbarControlSize m_controlSize; |
181 ScrollbarTheme* m_theme; | 181 ScrollbarTheme* m_theme; |
182 | 182 |
183 int m_visibleSize; | 183 int m_visibleSize; |
184 int m_totalSize; | 184 int m_totalSize; |
185 float m_currentPos; | 185 float m_currentPos; |
186 float m_dragOrigin; | 186 float m_dragOrigin; |
187 int m_lineStep; | 187 int m_lineStep; |
(...skipping 11 matching lines...) Expand all Loading... |
199 | 199 |
200 Timer<Scrollbar> m_scrollTimer; | 200 Timer<Scrollbar> m_scrollTimer; |
201 bool m_overlapsResizer; | 201 bool m_overlapsResizer; |
202 | 202 |
203 bool m_suppressInvalidation; | 203 bool m_suppressInvalidation; |
204 | 204 |
205 bool m_isAlphaLocked; | 205 bool m_isAlphaLocked; |
206 | 206 |
207 private: | 207 private: |
208 virtual bool isScrollbar() const { return true; } | 208 virtual bool isScrollbar() const { return true; } |
209 virtual AXObjectCache* existingAXObjectCache() const; | 209 virtual AXObjectCache* axObjectCache() const; |
210 }; | 210 }; |
211 | 211 |
212 } // namespace WebCore | 212 } // namespace WebCore |
213 | 213 |
214 #endif // Scrollbar_h | 214 #endif // Scrollbar_h |
OLD | NEW |