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 29 matching lines...) Expand all Loading... |
40 #include "platform/scroll/ScrollbarThemeClient.h" | 40 #include "platform/scroll/ScrollbarThemeClient.h" |
41 #include "platform/scroll/ScrollbarThemeMacNonOverlayAPI.h" | 41 #include "platform/scroll/ScrollbarThemeMacNonOverlayAPI.h" |
42 #include "platform/scroll/ScrollbarThemeMacOverlayAPI.h" | 42 #include "platform/scroll/ScrollbarThemeMacOverlayAPI.h" |
43 #include "public/platform/mac/WebThemeEngine.h" | 43 #include "public/platform/mac/WebThemeEngine.h" |
44 #include "public/platform/Platform.h" | 44 #include "public/platform/Platform.h" |
45 #include "public/platform/WebRect.h" | 45 #include "public/platform/WebRect.h" |
46 #include "skia/ext/skia_utils_mac.h" | 46 #include "skia/ext/skia_utils_mac.h" |
47 #include "wtf/HashSet.h" | 47 #include "wtf/HashSet.h" |
48 #include "wtf/StdLibExtras.h" | 48 #include "wtf/StdLibExtras.h" |
49 #include "wtf/TemporaryChange.h" | 49 #include "wtf/TemporaryChange.h" |
50 #include "wtf/UnusedParam.h" | |
51 | 50 |
52 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o
verflow. | 51 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o
verflow. |
53 | 52 |
54 using namespace std; | 53 using namespace std; |
55 using namespace WebCore; | 54 using namespace WebCore; |
56 | 55 |
57 @interface NSColor (WebNSColorDetails) | 56 @interface NSColor (WebNSColorDetails) |
58 + (NSImage *)_linenPatternImage; | 57 + (NSImage *)_linenPatternImage; |
59 @end | 58 @end |
60 | 59 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 case ForwardButtonEndPart: | 342 case ForwardButtonEndPart: |
344 return kThemeBottomOutsideArrowPressed; | 343 return kThemeBottomOutsideArrowPressed; |
345 case ThumbPart: | 344 case ThumbPart: |
346 return kThemeThumbPressed; | 345 return kThemeThumbPressed; |
347 default: | 346 default: |
348 return 0; | 347 return 0; |
349 } | 348 } |
350 } | 349 } |
351 | 350 |
352 } // namespace WebCore | 351 } // namespace WebCore |
OLD | NEW |