| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 static ScrollAlignmentBehavior getPartialBehavior(const ScrollAlignment& s)
{ return s.m_rectPartial; } | 63 static ScrollAlignmentBehavior getPartialBehavior(const ScrollAlignment& s)
{ return s.m_rectPartial; } |
| 64 static ScrollAlignmentBehavior getHiddenBehavior(const ScrollAlignment& s) {
return s.m_rectHidden; } | 64 static ScrollAlignmentBehavior getHiddenBehavior(const ScrollAlignment& s) {
return s.m_rectHidden; } |
| 65 | 65 |
| 66 // FIXME: This function should probably go somewhere else but where? | 66 // FIXME: This function should probably go somewhere else but where? |
| 67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const Layou
tRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
; | 67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const Layou
tRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
; |
| 68 | 68 |
| 69 static const ScrollAlignment alignCenterIfNeeded; | 69 static const ScrollAlignment alignCenterIfNeeded; |
| 70 static const ScrollAlignment alignToEdgeIfNeeded; | 70 static const ScrollAlignment alignToEdgeIfNeeded; |
| 71 static const ScrollAlignment alignCenterAlways; | 71 static const ScrollAlignment alignCenterAlways; |
| 72 static const ScrollAlignment alignTopAlways; | 72 static const ScrollAlignment alignTopAlways; |
| 73 static const ScrollAlignment alignBottomAlways; | |
| 74 | 73 |
| 75 ScrollAlignmentBehavior m_rectVisible; | 74 ScrollAlignmentBehavior m_rectVisible; |
| 76 ScrollAlignmentBehavior m_rectHidden; | 75 ScrollAlignmentBehavior m_rectHidden; |
| 77 ScrollAlignmentBehavior m_rectPartial; | 76 ScrollAlignmentBehavior m_rectPartial; |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 | 79 |
| 81 }; // namespace blink | 80 }; // namespace blink |
| 82 | 81 |
| 83 #endif // SKY_ENGINE_CORE_RENDERING_SCROLLALIGNMENT_H_ | 82 #endif // SKY_ENGINE_CORE_RENDERING_SCROLLALIGNMENT_H_ |
| OLD | NEW |