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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void mouseEnteredContentArea() const; | 72 void mouseEnteredContentArea() const; |
73 void mouseExitedContentArea() const; | 73 void mouseExitedContentArea() const; |
74 void mouseMovedInContentArea() const; | 74 void mouseMovedInContentArea() const; |
75 void mouseEnteredScrollbar(Scrollbar*) const; | 75 void mouseEnteredScrollbar(Scrollbar*) const; |
76 void mouseExitedScrollbar(Scrollbar*) const; | 76 void mouseExitedScrollbar(Scrollbar*) const; |
77 void contentAreaDidShow() const; | 77 void contentAreaDidShow() const; |
78 void contentAreaDidHide() const; | 78 void contentAreaDidHide() const; |
79 | 79 |
80 void finishCurrentScrollAnimations() const; | 80 void finishCurrentScrollAnimations() const; |
81 | 81 |
82 void didAddVerticalScrollbar(Scrollbar*); | 82 virtual void didAddScrollbar(Scrollbar*, ScrollbarOrientation); |
83 void willRemoveVerticalScrollbar(Scrollbar*); | 83 virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation); |
84 virtual void didAddHorizontalScrollbar(Scrollbar*); | |
85 virtual void willRemoveHorizontalScrollbar(Scrollbar*); | |
86 | 84 |
87 virtual void contentsResized(); | 85 virtual void contentsResized(); |
88 | 86 |
89 bool hasOverlayScrollbars() const; | 87 bool hasOverlayScrollbars() const; |
90 void setScrollbarOverlayStyle(ScrollbarOverlayStyle); | 88 void setScrollbarOverlayStyle(ScrollbarOverlayStyle); |
91 ScrollbarOverlayStyle scrollbarOverlayStyle() const { return static_cast<Scr
ollbarOverlayStyle>(m_scrollbarOverlayStyle); } | 89 ScrollbarOverlayStyle scrollbarOverlayStyle() const { return static_cast<Scr
ollbarOverlayStyle>(m_scrollbarOverlayStyle); } |
92 | 90 |
93 // This getter will create a ScrollAnimator if it doesn't already exist. | 91 // This getter will create a ScrollAnimator if it doesn't already exist. |
94 ScrollAnimator* scrollAnimator() const; | 92 ScrollAnimator* scrollAnimator() const; |
95 | 93 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // vertical-lr / ltr NO NO | 238 // vertical-lr / ltr NO NO |
241 // vertical-lr / rtl NO YES | 239 // vertical-lr / rtl NO YES |
242 // vertical-rl / ltr YES NO | 240 // vertical-rl / ltr YES NO |
243 // vertical-rl / rtl YES YES | 241 // vertical-rl / rtl YES YES |
244 IntPoint m_scrollOrigin; | 242 IntPoint m_scrollOrigin; |
245 }; | 243 }; |
246 | 244 |
247 } // namespace WebCore | 245 } // namespace WebCore |
248 | 246 |
249 #endif // ScrollableArea_h | 247 #endif // ScrollableArea_h |
OLD | NEW |