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 12 matching lines...) Expand all Loading... |
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef RenderThemeChromiumAndroid_h | 26 #ifndef RenderThemeChromiumAndroid_h |
27 #define RenderThemeChromiumAndroid_h | 27 #define RenderThemeChromiumAndroid_h |
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 : 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; | 38 virtual Color systemColor(CSSValueID) const OVERRIDE; |
39 | 39 |
40 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; | 40 virtual void adjustInnerSpinButtonStyle(RenderStyle*, Element*) const OVERRI
DE; |
41 | 41 |
42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } | 42 virtual bool delegatesMenuListRendering() const OVERRIDE { return true; } |
43 | 43 |
(...skipping 17 matching lines...) Expand all Loading... |
61 private: | 61 private: |
62 virtual ~RenderThemeChromiumAndroid(); | 62 virtual ~RenderThemeChromiumAndroid(); |
63 | 63 |
64 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 64 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
65 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 65 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace WebCore | 68 } // namespace WebCore |
69 | 69 |
70 #endif // RenderThemeChromiumAndroid_h | 70 #endif // RenderThemeChromiumAndroid_h |
OLD | NEW |