OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2011 Apple 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 virtual int lineStep(ScrollbarOrientation) const; | 274 virtual int lineStep(ScrollbarOrientation) const; |
275 virtual int pageStep(ScrollbarOrientation) const; | 275 virtual int pageStep(ScrollbarOrientation) const; |
276 virtual int documentStep(ScrollbarOrientation) const; | 276 virtual int documentStep(ScrollbarOrientation) const; |
277 virtual float pixelStep(ScrollbarOrientation) const; | 277 virtual float pixelStep(ScrollbarOrientation) const; |
278 | 278 |
279 // Stores the paint invalidations for the scrollbars during layout. | 279 // Stores the paint invalidations for the scrollbars during layout. |
280 IntRect m_horizontalBarDamage; | 280 IntRect m_horizontalBarDamage; |
281 IntRect m_verticalBarDamage; | 281 IntRect m_verticalBarDamage; |
282 | 282 |
283 struct ScrollableAreaAnimators { | 283 struct ScrollableAreaAnimators { |
284 OwnPtr<ScrollAnimator> scrollAnimator; | 284 RefPtr<ScrollAnimator> scrollAnimator; |
285 OwnPtr<ProgrammaticScrollAnimator> programmaticScrollAnimator; | 285 OwnPtr<ProgrammaticScrollAnimator> programmaticScrollAnimator; |
286 }; | 286 }; |
287 | 287 |
288 mutable OwnPtr<ScrollableAreaAnimators> m_animators; | 288 mutable OwnPtr<ScrollableAreaAnimators> m_animators; |
289 unsigned m_constrainsScrollingToContentEdge : 1; | 289 unsigned m_constrainsScrollingToContentEdge : 1; |
290 | 290 |
291 unsigned m_inLiveResize : 1; | 291 unsigned m_inLiveResize : 1; |
292 | 292 |
293 unsigned m_verticalScrollElasticity : 2; // ScrollElasticity | 293 unsigned m_verticalScrollElasticity : 2; // ScrollElasticity |
294 unsigned m_horizontalScrollElasticity : 2; // ScrollElasticity | 294 unsigned m_horizontalScrollElasticity : 2; // ScrollElasticity |
(...skipping 12 matching lines...) Expand all Loading... |
307 // vertical-lr / ltr NO NO | 307 // vertical-lr / ltr NO NO |
308 // vertical-lr / rtl NO YES | 308 // vertical-lr / rtl NO YES |
309 // vertical-rl / ltr YES NO | 309 // vertical-rl / ltr YES NO |
310 // vertical-rl / rtl YES YES | 310 // vertical-rl / rtl YES YES |
311 IntPoint m_scrollOrigin; | 311 IntPoint m_scrollOrigin; |
312 }; | 312 }; |
313 | 313 |
314 } // namespace blink | 314 } // namespace blink |
315 | 315 |
316 #endif // ScrollableArea_h | 316 #endif // ScrollableArea_h |
OLD | NEW |