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 27 matching lines...) Expand all Loading... |
38 * deletingthe provisions above and replace them with the notice and | 38 * deletingthe provisions above and replace them with the notice and |
39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
42 */ | 42 */ |
43 | 43 |
44 #ifndef ScrollAlignment_h | 44 #ifndef ScrollAlignment_h |
45 #define ScrollAlignment_h | 45 #define ScrollAlignment_h |
46 | 46 |
47 #include "core/CoreExport.h" | 47 #include "core/CoreExport.h" |
48 #include "wtf/Allocator.h" | 48 #include "platform/wtf/Allocator.h" |
49 | 49 |
50 namespace blink { | 50 namespace blink { |
51 | 51 |
52 enum ScrollAlignmentBehavior { | 52 enum ScrollAlignmentBehavior { |
53 kScrollAlignmentNoScroll, | 53 kScrollAlignmentNoScroll, |
54 kScrollAlignmentCenter, | 54 kScrollAlignmentCenter, |
55 kScrollAlignmentTop, | 55 kScrollAlignmentTop, |
56 kScrollAlignmentBottom, | 56 kScrollAlignmentBottom, |
57 kScrollAlignmentLeft, | 57 kScrollAlignmentLeft, |
58 kScrollAlignmentRight, | 58 kScrollAlignmentRight, |
(...skipping 27 matching lines...) Expand all Loading... |
86 static const ScrollAlignment kAlignBottomAlways; | 86 static const ScrollAlignment kAlignBottomAlways; |
87 | 87 |
88 ScrollAlignmentBehavior rect_visible_; | 88 ScrollAlignmentBehavior rect_visible_; |
89 ScrollAlignmentBehavior rect_hidden_; | 89 ScrollAlignmentBehavior rect_hidden_; |
90 ScrollAlignmentBehavior rect_partial_; | 90 ScrollAlignmentBehavior rect_partial_; |
91 }; | 91 }; |
92 | 92 |
93 } // namespace blink | 93 } // namespace blink |
94 | 94 |
95 #endif // ScrollAlignment_h | 95 #endif // ScrollAlignment_h |
OLD | NEW |