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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 class RenderThemeChromiumAndroid FINAL : public RenderThemeChromiumDefault { | 33 class RenderThemeChromiumAndroid FINAL : public RenderThemeChromiumDefault { |
34 public: | 34 public: |
35 static PassRefPtr<RenderTheme> create(); | 35 static PassRefPtr<RenderTheme> create(); |
36 virtual String extraDefaultStyleSheet() OVERRIDE; | 36 virtual String extraDefaultStyleSheet() OVERRIDE; |
37 | 37 |
38 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; | 38 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; |
39 | 39 |
40 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } | 40 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } |
41 | 41 |
42 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co
nst IntRect&) OVERRIDE; | |
43 | |
44 virtual String extraMediaControlsStyleSheet() OVERRIDE; | 42 virtual String extraMediaControlsStyleSheet() OVERRIDE; |
45 | 43 |
46 virtual Color platformTapHighlightColor() const OVERRIDE | 44 virtual Color platformTapHighlightColor() const OVERRIDE |
47 { | 45 { |
48 return RenderThemeChromiumAndroid::defaultTapHighlightColor; | 46 return RenderThemeChromiumAndroid::defaultTapHighlightColor; |
49 } | 47 } |
50 | 48 |
51 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE | 49 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE |
52 { | 50 { |
53 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; | 51 return RenderThemeChromiumAndroid::defaultActiveSelectionBackgroundColor
; |
54 } | 52 } |
55 | 53 |
56 protected: | 54 protected: |
57 virtual int menuListArrowPadding() const OVERRIDE; | 55 virtual int menuListArrowPadding() const OVERRIDE; |
58 | 56 |
59 private: | 57 private: |
60 virtual ~RenderThemeChromiumAndroid(); | 58 virtual ~RenderThemeChromiumAndroid(); |
61 | 59 |
62 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 60 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
63 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 61 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
64 }; | 62 }; |
65 | 63 |
66 } // namespace WebCore | 64 } // namespace WebCore |
67 | 65 |
68 #endif // RenderThemeChromiumAndroid_h | 66 #endif // RenderThemeChromiumAndroid_h |
OLD | NEW |