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 "core/platform/mac/WebCoreSystemInterface.h" | |
39 #include <wtf/HashMap.h> | 38 #include <wtf/HashMap.h> |
40 #include <wtf/StdLibExtras.h> | 39 #include <wtf/StdLibExtras.h> |
41 #include <wtf/TemporaryChange.h> | 40 #include <wtf/TemporaryChange.h> |
42 #include <wtf/UnusedParam.h> | 41 #include <wtf/UnusedParam.h> |
43 | 42 |
44 // 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. |
45 | 44 |
46 using namespace std; | 45 using namespace std; |
47 using namespace WebCore; | 46 using namespace WebCore; |
48 | 47 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 } | 463 } |
465 } | 464 } |
466 | 465 |
467 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar) | 466 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar) |
468 { | 467 { |
469 if (isScrollbarOverlayAPIAvailable()) | 468 if (isScrollbarOverlayAPIAvailable()) |
470 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()]; | 469 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()]; |
471 } | 470 } |
472 | 471 |
473 } // namespace WebCore | 472 } // namespace WebCore |
OLD | NEW |