Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(915)

Side by Side Diff: Source/WebCore/platform/Scrollbar.h

Issue 12703031: Revert 146726 "AXObjectCache gets recreated during document tear..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebCore/platform/ScrollView.cpp ('k') | Source/WebCore/platform/Scrollbar.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/platform/ScrollView.cpp ('k') | Source/WebCore/platform/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698