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