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