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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 class RenderProgress; | 35 class RenderProgress; |
36 | 36 |
37 class RenderThemeChromiumSkia : public RenderTheme { | 37 class RenderThemeChromiumSkia : public RenderTheme { |
38 public: | 38 public: |
39 RenderThemeChromiumSkia(); | 39 RenderThemeChromiumSkia(); |
40 virtual ~RenderThemeChromiumSkia(); | 40 virtual ~RenderThemeChromiumSkia(); |
41 | 41 |
42 virtual String extraDefaultStyleSheet(); | 42 virtual String extraDefaultStyleSheet(); |
43 virtual String extraQuirksStyleSheet(); | 43 virtual String extraQuirksStyleSheet(); |
44 virtual String extraMediaControlsStyleSheet(); | |
45 | 44 |
46 virtual Color platformTapHighlightColor() const OVERRIDE | 45 virtual Color platformTapHighlightColor() const OVERRIDE |
47 { | 46 { |
48 return Color(defaultTapHighlightColor); | 47 return Color(defaultTapHighlightColor); |
49 } | 48 } |
50 | 49 |
51 // A method asking if the theme's controls actually care about redrawing whe
n hovered. | 50 // A method asking if the theme's controls actually care about redrawing whe
n hovered. |
52 virtual bool supportsHover(const RenderStyle*) const; | 51 virtual bool supportsHover(const RenderStyle*) const; |
53 | 52 |
54 // A method asking if the theme is able to draw the focus ring. | 53 // A method asking if the theme is able to draw the focus ring. |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 int menuListInternalPadding(RenderStyle*, int paddingType) const; | 158 int menuListInternalPadding(RenderStyle*, int paddingType) const; |
160 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); | 159 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); |
161 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; | 160 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; |
162 | 161 |
163 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. | 162 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. |
164 }; | 163 }; |
165 | 164 |
166 } // namespace WebCore | 165 } // namespace WebCore |
167 | 166 |
168 #endif // RenderThemeChromiumSkia_h | 167 #endif // RenderThemeChromiumSkia_h |
OLD | NEW |