| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 class HostWindow; | 47 class HostWindow; |
| 48 class LayoutBox; | 48 class LayoutBox; |
| 49 class LayoutObject; | 49 class LayoutObject; |
| 50 class PaintLayer; | 50 class PaintLayer; |
| 51 class ProgrammaticScrollAnimator; | 51 class ProgrammaticScrollAnimator; |
| 52 struct ScrollAlignment; | 52 struct ScrollAlignment; |
| 53 class ScrollAnchor; | 53 class ScrollAnchor; |
| 54 class ScrollAnimatorBase; | 54 class ScrollAnimatorBase; |
| 55 class CompositorAnimationTimeline; | 55 class CompositorAnimationTimeline; |
| 56 | 56 |
| 57 enum IncludeScrollbarsInRect { | |
| 58 ExcludeScrollbars, | |
| 59 IncludeScrollbars, | |
| 60 }; | |
| 61 | |
| 62 class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin { | 57 class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin { |
| 63 WTF_MAKE_NONCOPYABLE(ScrollableArea); | 58 WTF_MAKE_NONCOPYABLE(ScrollableArea); |
| 64 | 59 |
| 65 public: | 60 public: |
| 66 static int pixelsPerLineStep(HostWindow*); | 61 static int pixelsPerLineStep(HostWindow*); |
| 67 static float minFractionToStepWhenPaging(); | 62 static float minFractionToStepWhenPaging(); |
| 68 static int maxOverlapBetweenPages(); | 63 static int maxOverlapBetweenPages(); |
| 69 | 64 |
| 70 // Convert a non-finite scroll value (Infinity, -Infinity, NaN) to 0 as | 65 // Convert a non-finite scroll value (Infinity, -Infinity, NaN) to 0 as |
| 71 // per http://dev.w3.org/csswg/cssom-view/#normalize-non_finite-values. | 66 // per http://dev.w3.org/csswg/cssom-view/#normalize-non_finite-values. |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 // vertical-lr / ltr NO NO | 435 // vertical-lr / ltr NO NO |
| 441 // vertical-lr / rtl NO YES | 436 // vertical-lr / rtl NO YES |
| 442 // vertical-rl / ltr YES NO | 437 // vertical-rl / ltr YES NO |
| 443 // vertical-rl / rtl YES YES | 438 // vertical-rl / rtl YES YES |
| 444 IntPoint m_scrollOrigin; | 439 IntPoint m_scrollOrigin; |
| 445 }; | 440 }; |
| 446 | 441 |
| 447 } // namespace blink | 442 } // namespace blink |
| 448 | 443 |
| 449 #endif // ScrollableArea_h | 444 #endif // ScrollableArea_h |
| OLD | NEW |