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 SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ | 23 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ |
24 #define SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ | 24 #define SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ |
25 | 25 |
26 #include "sky/engine/core/rendering/RenderObject.h" | 26 #include "sky/engine/core/rendering/RenderObject.h" |
27 #include "sky/engine/platform/scroll/ScrollTypes.h" | |
28 #include "sky/engine/wtf/PassRefPtr.h" | 27 #include "sky/engine/wtf/PassRefPtr.h" |
29 #include "sky/engine/wtf/RefCounted.h" | 28 #include "sky/engine/wtf/RefCounted.h" |
30 #include "sky/engine/wtf/text/WTFString.h" | 29 #include "sky/engine/wtf/text/WTFString.h" |
31 | 30 |
32 namespace blink { | 31 namespace blink { |
33 | 32 |
34 class Element; | 33 class Element; |
35 | 34 |
36 class RenderTheme : public RefCounted<RenderTheme> { | 35 class RenderTheme : public RefCounted<RenderTheme> { |
37 protected: | 36 protected: |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 72 |
74 // This color is expected to be drawn on a semi-transparent overlay, | 73 // This color is expected to be drawn on a semi-transparent overlay, |
75 // making it more transparent than its alpha value indicates. | 74 // making it more transparent than its alpha value indicates. |
76 static const RGBA32 defaultTapHighlightColor = 0x66000000; | 75 static const RGBA32 defaultTapHighlightColor = 0x66000000; |
77 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; | 76 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; |
78 }; | 77 }; |
79 | 78 |
80 } // namespace blink | 79 } // namespace blink |
81 | 80 |
82 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ | 81 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTHEME_H_ |
OLD | NEW |