| 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& visible_rect, | 77 static LayoutRect GetRectToExpose(const LayoutRect& visible_rect, |
| 78 const LayoutRect& expose_rect, | 78 const LayoutRect& expose_rect, |
| 79 const ScrollAlignment& align_x, | 79 const ScrollAlignment& align_x, |
| 80 const ScrollAlignment& align_y); | 80 const ScrollAlignment& align_y); |
| 81 | 81 |
| 82 static const ScrollAlignment kAlignCenterIfNeeded; | 82 static const ScrollAlignment kAlignCenterIfNeeded; |
| 83 static const ScrollAlignment kAlignToEdgeIfNeeded; | 83 static const ScrollAlignment kAlignToEdgeIfNeeded; |
| 84 static const ScrollAlignment kAlignCenterAlways; | 84 static const ScrollAlignment kAlignCenterAlways; |
| 85 static const ScrollAlignment kAlignTopAlways; | 85 static const ScrollAlignment kAlignTopAlways; |
| 86 static const ScrollAlignment kAlignBottomAlways; | 86 static const ScrollAlignment kAlignBottomAlways; |
| 87 static const ScrollAlignment kAlignLeftAlways; |
| 88 static const ScrollAlignment kAlignRightAlways; |
| 87 | 89 |
| 88 ScrollAlignmentBehavior rect_visible_; | 90 ScrollAlignmentBehavior rect_visible_; |
| 89 ScrollAlignmentBehavior rect_hidden_; | 91 ScrollAlignmentBehavior rect_hidden_; |
| 90 ScrollAlignmentBehavior rect_partial_; | 92 ScrollAlignmentBehavior rect_partial_; |
| 91 }; | 93 }; |
| 92 | 94 |
| 93 } // namespace blink | 95 } // namespace blink |
| 94 | 96 |
| 95 #endif // ScrollAlignment_h | 97 #endif // ScrollAlignment_h |
| OLD | NEW |