OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007 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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef PlatformScrollbar_h | 26 #ifndef PlatformScrollbar_h |
27 #define PlatformScrollbar_h | 27 #define PlatformScrollbar_h |
28 | 28 |
29 #include <windows.h> | 29 #include <windows.h> |
30 | 30 |
31 #include "Widget.h" | 31 #include "Widget.h" |
32 #include "ScrollBar.h" | 32 #include "ScrollBar.h" |
33 #include "Timer.h" | 33 #include "Timer.h" |
34 | 34 |
35 namespace gfx { | |
36 class PlatformCanvasWin; | |
37 } | |
38 | |
39 namespace WebCore { | 35 namespace WebCore { |
40 | 36 |
41 // IMPORTANT NOTES ABOUT SCROLLBARS | 37 // IMPORTANT NOTES ABOUT SCROLLBARS |
42 // | 38 // |
43 // WebKit uses scrollbars in two ways. The first way is as a scroll control | 39 // WebKit uses scrollbars in two ways. The first way is as a scroll control |
44 // for a ScrollView. This scrollbar sits inside the ScrollView's rect and | 40 // for a ScrollView. This scrollbar sits inside the ScrollView's rect and |
45 // modifies its scrollOffset. Because it is inside the ScrollView's rect, it | 41 // modifies its scrollOffset. Because it is inside the ScrollView's rect, it |
46 // is a child of the ScrollView, but because it is not really part of the | 42 // is a child of the ScrollView, but because it is not really part of the |
47 // scrollView's content, it doesn't move as the scrollOffset changes. | 43 // scrollView's content, it doesn't move as the scrollOffset changes. |
48 // | 44 // |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 174 |
179 // Auto-repeat delays, in seconds | 175 // Auto-repeat delays, in seconds |
180 static const double kAutorepeatInitialDelay; | 176 static const double kAutorepeatInitialDelay; |
181 static const double kAutorepeatRepeatInterval; | 177 static const double kAutorepeatRepeatInterval; |
182 }; | 178 }; |
183 | 179 |
184 } | 180 } |
185 | 181 |
186 #endif // PlatformScrollbar_h | 182 #endif // PlatformScrollbar_h |
187 | 183 |
OLD | NEW |