OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, | 77 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, |
78 const LayoutRect& exposeRect, | 78 const LayoutRect& exposeRect, |
79 const ScrollAlignment& alignX, | 79 const ScrollAlignment& alignX, |
80 const ScrollAlignment& alignY); | 80 const ScrollAlignment& alignY); |
81 | 81 |
82 static const ScrollAlignment alignCenterIfNeeded; | 82 static const ScrollAlignment alignCenterIfNeeded; |
83 static const ScrollAlignment alignToEdgeIfNeeded; | 83 static const ScrollAlignment alignToEdgeIfNeeded; |
84 static const ScrollAlignment alignCenterAlways; | 84 static const ScrollAlignment alignCenterAlways; |
85 static const ScrollAlignment alignTopAlways; | 85 static const ScrollAlignment alignTopAlways; |
86 static const ScrollAlignment alignBottomAlways; | 86 static const ScrollAlignment alignBottomAlways; |
| 87 static const ScrollAlignment alignLeftAlways; |
| 88 static const ScrollAlignment alignRightAlways; |
87 | 89 |
88 ScrollAlignmentBehavior m_rectVisible; | 90 ScrollAlignmentBehavior m_rectVisible; |
89 ScrollAlignmentBehavior m_rectHidden; | 91 ScrollAlignmentBehavior m_rectHidden; |
90 ScrollAlignmentBehavior m_rectPartial; | 92 ScrollAlignmentBehavior m_rectPartial; |
91 }; | 93 }; |
92 | 94 |
93 } // namespace blink | 95 } // namespace blink |
94 | 96 |
95 #endif // ScrollAlignment_h | 97 #endif // ScrollAlignment_h |
OLD | NEW |