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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include <Carbon/Carbon.h> | 29 #include <Carbon/Carbon.h> |
30 #include "core/platform/PlatformMouseEvent.h" | 30 #include "core/platform/PlatformMouseEvent.h" |
31 #include "core/platform/ScrollView.h" | 31 #include "core/platform/ScrollView.h" |
32 #include "core/platform/graphics/GraphicsLayer.h" | 32 #include "core/platform/graphics/GraphicsLayer.h" |
33 #include "core/platform/graphics/ImageBuffer.h" | 33 #include "core/platform/graphics/ImageBuffer.h" |
34 #include "core/platform/graphics/mac/ColorMac.h" | 34 #include "core/platform/graphics/mac/ColorMac.h" |
35 #include "core/platform/mac/LocalCurrentGraphicsContext.h" | 35 #include "core/platform/mac/LocalCurrentGraphicsContext.h" |
36 #include "core/platform/mac/NSScrollerImpDetails.h" | 36 #include "core/platform/mac/NSScrollerImpDetails.h" |
37 #include "core/platform/mac/ScrollAnimatorMac.h" | 37 #include "core/platform/mac/ScrollAnimatorMac.h" |
38 #include <wtf/HashMap.h> | 38 #include "wtf/HashMap.h" |
39 #include <wtf/StdLibExtras.h> | 39 #include "wtf/StdLibExtras.h" |
40 #include <wtf/TemporaryChange.h> | 40 #include "wtf/TemporaryChange.h" |
41 #include <wtf/UnusedParam.h> | 41 #include "wtf/UnusedParam.h" |
42 | 42 |
43 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o
verflow. | 43 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o
verflow. |
44 | 44 |
45 using namespace std; | 45 using namespace std; |
46 using namespace WebCore; | 46 using namespace WebCore; |
47 | 47 |
48 @interface NSColor (WebNSColorDetails) | 48 @interface NSColor (WebNSColorDetails) |
49 + (NSImage *)_linenPatternImage; | 49 + (NSImage *)_linenPatternImage; |
50 @end | 50 @end |
51 | 51 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 } | 463 } |
464 } | 464 } |
465 | 465 |
466 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar) | 466 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar) |
467 { | 467 { |
468 if (isScrollbarOverlayAPIAvailable()) | 468 if (isScrollbarOverlayAPIAvailable()) |
469 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()]; | 469 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()]; |
470 } | 470 } |
471 | 471 |
472 } // namespace WebCore | 472 } // namespace WebCore |
OLD | NEW |