OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the theme implementation for form controls in WebCore. | 2 * This file is part of the theme implementation for form controls in WebCore. |
3 * | 3 * |
4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. | 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 * | 20 * |
21 */ | 21 */ |
22 | 22 |
23 #ifndef RenderTheme_h | 23 #ifndef RenderTheme_h |
24 #define RenderTheme_h | 24 #define RenderTheme_h |
25 | 25 |
26 #include "core/platform/ScrollTypes.h" | |
27 #if USE(NEW_THEME) | 26 #if USE(NEW_THEME) |
28 #include "core/platform/Theme.h" | 27 #include "core/platform/Theme.h" |
29 #else | 28 #else |
30 #include "core/platform/ThemeTypes.h" | 29 #include "core/platform/ThemeTypes.h" |
31 #endif | 30 #endif |
32 #include "core/rendering/RenderObject.h" | 31 #include "core/rendering/RenderObject.h" |
33 #include "core/rendering/style/CachedUAStyle.h" | 32 #include "core/rendering/style/CachedUAStyle.h" |
| 33 #include "platform/scroll/ScrollTypes.h" |
34 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
35 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
36 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 class CSSStyleSheet; | 40 class CSSStyleSheet; |
41 class Element; | 41 class Element; |
42 class FileList; | 42 class FileList; |
43 class HTMLInputElement; | 43 class HTMLInputElement; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 static const RGBA32 defaultTapHighlightColor = 0x66000000; | 342 static const RGBA32 defaultTapHighlightColor = 0x66000000; |
343 | 343 |
344 #if USE(NEW_THEME) | 344 #if USE(NEW_THEME) |
345 Theme* m_platformTheme; // The platform-specific theme. | 345 Theme* m_platformTheme; // The platform-specific theme. |
346 #endif | 346 #endif |
347 }; | 347 }; |
348 | 348 |
349 } // namespace WebCore | 349 } // namespace WebCore |
350 | 350 |
351 #endif // RenderTheme_h | 351 #endif // RenderTheme_h |
OLD | NEW |