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 * | 10 * |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // to remove the default font size from this object and have callers | 132 // to remove the default font size from this object and have callers |
133 // that need the value to get it directly from the appropriate Settings | 133 // that need the value to get it directly from the appropriate Settings |
134 // object. | 134 // object. |
135 static void setDefaultFontSize(int); | 135 static void setDefaultFontSize(int); |
136 | 136 |
137 protected: | 137 protected: |
138 virtual double caretBlinkIntervalInternal() const; | 138 virtual double caretBlinkIntervalInternal() const; |
139 | 139 |
140 virtual int menuListArrowPadding() const; | 140 virtual int menuListArrowPadding() const; |
141 | 141 |
142 static void setSizeIfAuto(RenderStyle*, const IntSize&); | |
143 | |
144 IntRect determinateProgressValueRectFor(RenderProgress*, const IntRect&) con
st; | 142 IntRect determinateProgressValueRectFor(RenderProgress*, const IntRect&) con
st; |
145 IntRect indeterminateProgressValueRectFor(RenderProgress*, const IntRect&) c
onst; | 143 IntRect indeterminateProgressValueRectFor(RenderProgress*, const IntRect&) c
onst; |
146 IntRect progressValueRectFor(RenderProgress*, const IntRect&) const; | 144 IntRect progressValueRectFor(RenderProgress*, const IntRect&) const; |
147 | 145 |
148 class DirectionFlippingScope { | 146 class DirectionFlippingScope { |
149 public: | 147 public: |
150 DirectionFlippingScope(RenderObject*, const PaintInfo&, const IntRect&); | 148 DirectionFlippingScope(RenderObject*, const PaintInfo&, const IntRect&); |
151 ~DirectionFlippingScope(); | 149 ~DirectionFlippingScope(); |
152 | 150 |
153 private: | 151 private: |
154 bool m_needsFlipping; | 152 bool m_needsFlipping; |
155 const PaintInfo& m_paintInfo; | 153 const PaintInfo& m_paintInfo; |
156 }; | 154 }; |
157 | 155 |
158 private: | 156 private: |
159 virtual Color disabledTextColor(const Color& textColor, const Color&) const
OVERRIDE { return textColor; } | 157 virtual Color disabledTextColor(const Color& textColor, const Color&) const
OVERRIDE { return textColor; } |
160 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE; | 158 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE; |
161 | 159 |
162 int menuListInternalPadding(RenderStyle*, int paddingType) const; | 160 int menuListInternalPadding(RenderStyle*, int paddingType) const; |
163 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); | 161 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); |
164 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; | 162 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; |
165 | 163 |
166 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. | 164 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. |
167 }; | 165 }; |
168 | 166 |
169 } // namespace WebCore | 167 } // namespace WebCore |
170 | 168 |
171 #endif // RenderThemeChromiumSkia_h | 169 #endif // RenderThemeChromiumSkia_h |
OLD | NEW |