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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "core/rendering/RenderThemeChromiumDefault.h" | 29 #include "core/rendering/RenderThemeChromiumDefault.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
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 Color systemColor(CSSValueID) const OVERRIDE; | |
39 | |
40 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; | 38 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; |
41 | 39 |
42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } | 40 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } |
43 | 41 |
44 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co
nst IntRect&) OVERRIDE; | 42 virtual bool paintMediaOverlayPlayButton(RenderObject*, const PaintInfo&, co
nst IntRect&) OVERRIDE; |
45 | 43 |
46 virtual String extraMediaControlsStyleSheet() OVERRIDE; | 44 virtual String extraMediaControlsStyleSheet() OVERRIDE; |
47 | 45 |
48 virtual Color platformTapHighlightColor() const OVERRIDE | 46 virtual Color platformTapHighlightColor() const OVERRIDE |
49 { | 47 { |
(...skipping 11 matching lines...) Expand all Loading... |
61 private: | 59 private: |
62 virtual ~RenderThemeChromiumAndroid(); | 60 virtual ~RenderThemeChromiumAndroid(); |
63 | 61 |
64 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 62 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
65 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 63 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
66 }; | 64 }; |
67 | 65 |
68 } // namespace WebCore | 66 } // namespace WebCore |
69 | 67 |
70 #endif // RenderThemeChromiumAndroid_h | 68 #endif // RenderThemeChromiumAndroid_h |
OLD | NEW |