OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
3 * | 3 * |
4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
6 * Copyright (C) 2007 Holger Hans Peter Freyther | 6 * Copyright (C) 2007 Holger Hans Peter Freyther |
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
8 * Copyright (C) 2008, 2009 Google, Inc. | 8 * Copyright (C) 2008, 2009 Google, Inc. |
9 * All rights reserved. | 9 * All rights reserved. |
10 * Copyright (C) 2009 Kenneth Rohde Christiansen | 10 * Copyright (C) 2009 Kenneth Rohde Christiansen |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #ifndef RenderThemeChromiumDefault_h | 29 #ifndef RenderThemeChromiumDefault_h |
30 #define RenderThemeChromiumDefault_h | 30 #define RenderThemeChromiumDefault_h |
31 | 31 |
32 #include "core/rendering/RenderThemeChromiumSkia.h" | 32 #include "core/rendering/RenderThemeChromiumSkia.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class RenderThemeChromiumDefault : public RenderThemeChromiumSkia { | 36 class RenderThemeChromiumDefault : public RenderThemeChromiumSkia { |
37 public: | 37 public: |
38 static PassRefPtr<RenderTheme> create(); | |
39 virtual String extraDefaultStyleSheet() override; | 38 virtual String extraDefaultStyleSheet() override; |
40 | 39 |
41 virtual Color systemColor(CSSValueID) const override; | 40 virtual Color systemColor(CSSValueID) const override; |
42 | 41 |
43 virtual bool supportsFocusRing(const RenderStyle*) const override; | 42 virtual bool supportsFocusRing(const RenderStyle*) const override; |
44 | 43 |
45 // List Box selection color | 44 // List Box selection color |
46 virtual Color activeListBoxSelectionBackgroundColor() const; | 45 virtual Color activeListBoxSelectionBackgroundColor() const; |
47 virtual Color activeListBoxSelectionForegroundColor() const; | 46 virtual Color activeListBoxSelectionForegroundColor() const; |
48 virtual Color inactiveListBoxSelectionBackgroundColor() const; | 47 virtual Color inactiveListBoxSelectionBackgroundColor() const; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 95 |
97 static unsigned m_activeSelectionBackgroundColor; | 96 static unsigned m_activeSelectionBackgroundColor; |
98 static unsigned m_activeSelectionForegroundColor; | 97 static unsigned m_activeSelectionForegroundColor; |
99 static unsigned m_inactiveSelectionBackgroundColor; | 98 static unsigned m_inactiveSelectionBackgroundColor; |
100 static unsigned m_inactiveSelectionForegroundColor; | 99 static unsigned m_inactiveSelectionForegroundColor; |
101 }; | 100 }; |
102 | 101 |
103 } // namespace blink | 102 } // namespace blink |
104 | 103 |
105 #endif // RenderThemeChromiumDefault_h | 104 #endif // RenderThemeChromiumDefault_h |
OLD | NEW |