| 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 28 matching lines...) Expand all Loading... |
| 39 public: | 39 public: |
| 40 RenderThemeChromiumSkia(); | 40 RenderThemeChromiumSkia(); |
| 41 virtual ~RenderThemeChromiumSkia(); | 41 virtual ~RenderThemeChromiumSkia(); |
| 42 | 42 |
| 43 virtual String extraDefaultStyleSheet(); | 43 virtual String extraDefaultStyleSheet(); |
| 44 virtual String extraQuirksStyleSheet(); | 44 virtual String extraQuirksStyleSheet(); |
| 45 #if ENABLE(VIDEO) | 45 #if ENABLE(VIDEO) |
| 46 virtual String extraMediaControlsStyleSheet(); | 46 virtual String extraMediaControlsStyleSheet(); |
| 47 #endif | 47 #endif |
| 48 | 48 |
| 49 #if ENABLE(TOUCH_EVENTS) | |
| 50 virtual Color platformTapHighlightColor() const OVERRIDE | 49 virtual Color platformTapHighlightColor() const OVERRIDE |
| 51 { | 50 { |
| 52 return Color(defaultTapHighlightColor); | 51 return Color(defaultTapHighlightColor); |
| 53 } | 52 } |
| 54 #endif | |
| 55 | 53 |
| 56 // A method asking if the theme's controls actually care about redrawing whe
n hovered. | 54 // A method asking if the theme's controls actually care about redrawing whe
n hovered. |
| 57 virtual bool supportsHover(const RenderStyle*) const; | 55 virtual bool supportsHover(const RenderStyle*) const; |
| 58 | 56 |
| 59 // A method asking if the theme is able to draw the focus ring. | 57 // A method asking if the theme is able to draw the focus ring. |
| 60 virtual bool supportsFocusRing(const RenderStyle*) const; | 58 virtual bool supportsFocusRing(const RenderStyle*) const; |
| 61 | 59 |
| 62 virtual bool supportsDataListUI(const AtomicString& type) const OVERRIDE; | 60 virtual bool supportsDataListUI(const AtomicString& type) const OVERRIDE; |
| 63 | 61 |
| 64 virtual bool supportsClosedCaptioning() const OVERRIDE; | 62 virtual bool supportsClosedCaptioning() const OVERRIDE; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 int menuListInternalPadding(RenderStyle*, int paddingType) const; | 180 int menuListInternalPadding(RenderStyle*, int paddingType) const; |
| 183 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); | 181 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); |
| 184 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; | 182 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec
t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; |
| 185 | 183 |
| 186 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. | 184 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. |
| 187 }; | 185 }; |
| 188 | 186 |
| 189 } // namespace WebCore | 187 } // namespace WebCore |
| 190 | 188 |
| 191 #endif // RenderThemeChromiumSkia_h | 189 #endif // RenderThemeChromiumSkia_h |
| OLD | NEW |