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 12 matching lines...) Expand all Loading... |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "platform/scroll/ScrollbarTheme.h" | 27 #include "platform/scroll/ScrollbarTheme.h" |
28 | 28 |
29 #include "platform/PlatformMouseEvent.h" | 29 #include "platform/PlatformMouseEvent.h" |
30 #include "platform/RuntimeEnabledFeatures.h" | 30 #include "platform/RuntimeEnabledFeatures.h" |
31 #include "platform/graphics/Color.h" | 31 #include "platform/graphics/Color.h" |
32 #include "platform/graphics/GraphicsContext.h" | 32 #include "platform/graphics/GraphicsContext.h" |
33 #include "platform/graphics/paint/DisplayItemList.h" | |
34 #include "platform/graphics/paint/DrawingDisplayItem.h" | 33 #include "platform/graphics/paint/DrawingDisplayItem.h" |
35 #include "platform/graphics/paint/DrawingRecorder.h" | 34 #include "platform/graphics/paint/DrawingRecorder.h" |
| 35 #include "platform/graphics/paint/PaintController.h" |
36 #include "platform/scroll/ScrollbarThemeClient.h" | 36 #include "platform/scroll/ScrollbarThemeClient.h" |
37 #include "platform/scroll/ScrollbarThemeMock.h" | 37 #include "platform/scroll/ScrollbarThemeMock.h" |
38 #include "platform/scroll/ScrollbarThemeOverlayMock.h" | 38 #include "platform/scroll/ScrollbarThemeOverlayMock.h" |
39 #include "public/platform/Platform.h" | 39 #include "public/platform/Platform.h" |
40 #include "public/platform/WebPoint.h" | 40 #include "public/platform/WebPoint.h" |
41 #include "public/platform/WebRect.h" | 41 #include "public/platform/WebRect.h" |
42 #include "public/platform/WebScrollbarBehavior.h" | 42 #include "public/platform/WebScrollbarBehavior.h" |
43 | 43 |
44 #if !OS(MACOSX) | 44 #if !OS(MACOSX) |
45 #include "public/platform/WebRect.h" | 45 #include "public/platform/WebRect.h" |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 return DisplayItem::ScrollbarBackTrack; | 371 return DisplayItem::ScrollbarBackTrack; |
372 case ForwardTrackPart: | 372 case ForwardTrackPart: |
373 return DisplayItem::ScrollbarForwardTrack; | 373 return DisplayItem::ScrollbarForwardTrack; |
374 default: | 374 default: |
375 ASSERT_NOT_REACHED(); | 375 ASSERT_NOT_REACHED(); |
376 return DisplayItem::ScrollbarBackTrack; | 376 return DisplayItem::ScrollbarBackTrack; |
377 } | 377 } |
378 } | 378 } |
379 | 379 |
380 } // namespace blink | 380 } // namespace blink |
OLD | NEW |