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) | |
51 virtual Color platformTapHighlightColor() const OVERRIDE | 50 virtual Color platformTapHighlightColor() const OVERRIDE |
52 { | 51 { |
53 return RenderThemeChromiumAndroid::defaultTapHighlightColor; | 52 return RenderThemeChromiumAndroid::defaultTapHighlightColor; |
54 } | 53 } |
55 #endif | |
56 | 54 |
57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE | 55 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE |
58 { | 56 { |
59 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; | 57 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; |
60 } | 58 } |
61 | 59 |
62 protected: | 60 protected: |
63 virtual int menuListArrowPadding() const OVERRIDE; | 61 virtual int menuListArrowPadding() const OVERRIDE; |
64 | 62 |
65 private: | 63 private: |
66 virtual ~RenderThemeChromiumAndroid(); | 64 virtual ~RenderThemeChromiumAndroid(); |
67 | 65 |
68 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 66 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
69 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 67 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
70 }; | 68 }; |
71 | 69 |
72 } // namespace WebCore | 70 } // namespace WebCore |
73 | 71 |
74 #endif // RenderThemeChromiumAndroid_h | 72 #endif // RenderThemeChromiumAndroid_h |
OLD | NEW |