OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006 Apple Computer, 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 23 matching lines...) Expand all Loading... |
34 #include "platform/scroll/ScrollbarThemeClient.h" | 34 #include "platform/scroll/ScrollbarThemeClient.h" |
35 #include "wtf/MathExtras.h" | 35 #include "wtf/MathExtras.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class GraphicsContext; | 39 class GraphicsContext; |
40 class HostWindow; | 40 class HostWindow; |
41 class IntRect; | 41 class IntRect; |
42 class PlatformGestureEvent; | 42 class PlatformGestureEvent; |
43 class PlatformMouseEvent; | 43 class PlatformMouseEvent; |
44 class ScrollAnimatorBase; | |
45 class ScrollableArea; | 44 class ScrollableArea; |
46 class ScrollbarTheme; | 45 class ScrollbarTheme; |
47 | 46 |
48 class PLATFORM_EXPORT Scrollbar : public Widget, | 47 class PLATFORM_EXPORT Scrollbar : public Widget, |
49 public ScrollbarThemeClient, | 48 public ScrollbarThemeClient, |
50 public DisplayItemClient { | 49 public DisplayItemClient { |
51 public: | 50 public: |
52 static Scrollbar* create(ScrollableArea* scrollableArea, | 51 static Scrollbar* create(ScrollableArea* scrollableArea, |
53 ScrollbarOrientation orientation, | 52 ScrollbarOrientation orientation, |
54 ScrollbarControlSize size, | 53 ScrollbarControlSize size, |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 255 |
257 DEFINE_TYPE_CASTS(Scrollbar, | 256 DEFINE_TYPE_CASTS(Scrollbar, |
258 Widget, | 257 Widget, |
259 widget, | 258 widget, |
260 widget->isScrollbar(), | 259 widget->isScrollbar(), |
261 widget.isScrollbar()); | 260 widget.isScrollbar()); |
262 | 261 |
263 } // namespace blink | 262 } // namespace blink |
264 | 263 |
265 #endif // Scrollbar_h | 264 #endif // Scrollbar_h |
OLD | NEW |