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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual Color platformActiveSelectionForegroundColor() const; | 54 virtual Color platformActiveSelectionForegroundColor() const; |
55 virtual Color platformInactiveSelectionForegroundColor() const; | 55 virtual Color platformInactiveSelectionForegroundColor() const; |
56 | 56 |
57 virtual IntSize sliderTickSize() const OVERRIDE; | 57 virtual IntSize sliderTickSize() const OVERRIDE; |
58 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; | 58 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; |
59 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; | 59 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; |
60 | 60 |
61 static void setCaretBlinkInterval(double); | 61 static void setCaretBlinkInterval(double); |
62 virtual double caretBlinkIntervalInternal() const; | 62 virtual double caretBlinkIntervalInternal() const; |
63 | 63 |
64 virtual bool paintCheckbox(RenderObject*, const PaintInfo&, const IntRect&); | 64 virtual bool paintCheckbox(RenderObject*, PaintInfo&, const IntRect&); |
65 virtual void setCheckboxSize(RenderStyle*) const; | 65 virtual void setCheckboxSize(RenderStyle*) const; |
66 | 66 |
67 virtual bool paintRadio(RenderObject*, const PaintInfo&, const IntRect&); | 67 virtual bool paintRadio(RenderObject*, PaintInfo&, const IntRect&); |
68 virtual void setRadioSize(RenderStyle*) const; | 68 virtual void setRadioSize(RenderStyle*) const; |
69 | 69 |
70 virtual bool paintButton(RenderObject*, const PaintInfo&, const IntRect&); | 70 virtual bool paintButton(RenderObject*, PaintInfo&, const IntRect&); |
71 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&)
; | 71 virtual bool paintTextField(RenderObject*, PaintInfo&, const IntRect&); |
72 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&); | 72 virtual bool paintMenuList(RenderObject*, PaintInfo&, const IntRect&); |
73 virtual bool paintSliderTrack(RenderObject*, const PaintInfo&, const IntRect
&); | 73 virtual bool paintSliderTrack(RenderObject*, PaintInfo&, const IntRect&); |
74 virtual bool paintSliderThumb(RenderObject*, const PaintInfo&, const IntRect
&); | 74 virtual bool paintSliderThumb(RenderObject*, PaintInfo&, const IntRect&); |
75 | 75 |
76 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const; | 76 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const; |
77 virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const Int
Rect&); | 77 virtual bool paintInnerSpinButton(RenderObject*, PaintInfo&, const IntRect&)
; |
78 | 78 |
79 virtual bool popsMenuBySpaceOrReturn() const OVERRIDE { return true; } | 79 virtual bool popsMenuBySpaceOrReturn() const OVERRIDE { return true; } |
80 | 80 |
81 virtual bool paintProgressBar(RenderObject*, const PaintInfo&, const IntRect
&); | 81 virtual bool paintProgressBar(RenderObject*, PaintInfo&, const IntRect&); |
82 | 82 |
83 virtual bool shouldOpenPickerWithF4Key() const OVERRIDE; | 83 virtual bool shouldOpenPickerWithF4Key() const OVERRIDE; |
84 | 84 |
85 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti
veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground
Color); | 85 static void setSelectionColors(unsigned activeBackgroundColor, unsigned acti
veForegroundColor, unsigned inactiveBackgroundColor, unsigned inactiveForeground
Color); |
86 | 86 |
87 protected: | 87 protected: |
88 RenderThemeChromiumDefault(); | 88 RenderThemeChromiumDefault(); |
89 virtual ~RenderThemeChromiumDefault(); | 89 virtual ~RenderThemeChromiumDefault(); |
90 | 90 |
91 private: | 91 private: |
92 // A general method asking if any control tinting is supported at all. | 92 // A general method asking if any control tinting is supported at all. |
93 virtual bool supportsControlTints() const; | 93 virtual bool supportsControlTints() const; |
94 | 94 |
95 static double m_caretBlinkInterval; | 95 static double m_caretBlinkInterval; |
96 | 96 |
97 static unsigned m_activeSelectionBackgroundColor; | 97 static unsigned m_activeSelectionBackgroundColor; |
98 static unsigned m_activeSelectionForegroundColor; | 98 static unsigned m_activeSelectionForegroundColor; |
99 static unsigned m_inactiveSelectionBackgroundColor; | 99 static unsigned m_inactiveSelectionBackgroundColor; |
100 static unsigned m_inactiveSelectionForegroundColor; | 100 static unsigned m_inactiveSelectionForegroundColor; |
101 }; | 101 }; |
102 | 102 |
103 } // namespace WebCore | 103 } // namespace WebCore |
104 | 104 |
105 #endif // RenderThemeChromiumDefault_h | 105 #endif // RenderThemeChromiumDefault_h |
OLD | NEW |