OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 11 matching lines...) Expand all Loading... |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef ScrollingCoordinator_h | 26 #ifndef ScrollingCoordinator_h |
27 #define ScrollingCoordinator_h | 27 #define ScrollingCoordinator_h |
28 | 28 |
29 #include "core/platform/PlatformWheelEvent.h" | 29 #include "core/platform/PlatformWheelEvent.h" |
30 #include "core/platform/ScrollTypes.h" | 30 #include "core/platform/ScrollTypes.h" |
31 #include "core/platform/graphics/IntRect.h" | 31 #include "core/platform/graphics/IntRect.h" |
32 #include "core/platform/graphics/LayoutRect.h" | |
33 #include "core/rendering/RenderObject.h" | 32 #include "core/rendering/RenderObject.h" |
34 | 33 |
35 namespace WebKit { | 34 namespace WebKit { |
36 class WebLayer; | 35 class WebLayer; |
37 class WebScrollbarLayer; | 36 class WebScrollbarLayer; |
38 } | 37 } |
39 | 38 |
40 namespace WebCore { | 39 namespace WebCore { |
41 | 40 |
42 typedef unsigned MainThreadScrollingReasons; | 41 typedef unsigned MainThreadScrollingReasons; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb
arMap; | 135 typedef HashMap<ScrollableArea*, OwnPtr<WebKit::WebScrollbarLayer> > Scrollb
arMap; |
137 ScrollbarMap m_horizontalScrollbars; | 136 ScrollbarMap m_horizontalScrollbars; |
138 ScrollbarMap m_verticalScrollbars; | 137 ScrollbarMap m_verticalScrollbars; |
139 | 138 |
140 }; | 139 }; |
141 | 140 |
142 } // namespace WebCore | 141 } // namespace WebCore |
143 | 142 |
144 #endif // ScrollingCoordinator_h | 143 #endif // ScrollingCoordinator_h |
OLD | NEW |