OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 29 matching lines...) Expand all Loading... |
40 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Elemen
t*) const OVERRIDE; | 40 virtual void adjustInnerSpinButtonStyle(StyleResolver*, RenderStyle*, Elemen
t*) const OVERRIDE; |
41 | 41 |
42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } | 42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } |
43 | 43 |
44 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co
nst IntRect&) OVERRIDE; | 44 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co
nst IntRect&) OVERRIDE; |
45 | 45 |
46 #if ENABLE(VIDEO) | 46 #if ENABLE(VIDEO) |
47 virtual String extraMediaControlsStyleSheet() OVERRIDE; | 47 virtual String extraMediaControlsStyleSheet() OVERRIDE; |
48 #endif | 48 #endif |
49 | 49 |
| 50 #if ENABLE(TOUCH_EVENTS) |
50 virtual Color platformTapHighlightColor() const OVERRIDE | 51 virtual Color platformTapHighlightColor() const OVERRIDE |
51 { | 52 { |
52 return RenderThemeChromiumAndroid::defaultTapHighlightColor; | 53 return RenderThemeChromiumAndroid::defaultTapHighlightColor; |
53 } | 54 } |
| 55 #endif |
54 | 56 |
55 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE | 57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE |
56 { | 58 { |
57 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; | 59 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; |
58 } | 60 } |
59 | 61 |
60 protected: | 62 protected: |
61 virtual int menuListArrowPadding() const OVERRIDE; | 63 virtual int menuListArrowPadding() const OVERRIDE; |
62 | 64 |
63 private: | 65 private: |
64 virtual ~RenderThemeChromiumAndroid(); | 66 virtual ~RenderThemeChromiumAndroid(); |
65 | 67 |
66 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 68 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
67 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 69 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
68 }; | 70 }; |
69 | 71 |
70 } // namespace WebCore | 72 } // namespace WebCore |
71 | 73 |
72 #endif // RenderThemeChromiumAndroid_h | 74 #endif // RenderThemeChromiumAndroid_h |
OLD | NEW |