| 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 : public RenderThemeChromiumDefault { | 33 class RenderThemeChromiumAndroid : 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(int cssValidId) const OVERRIDE; | 38 virtual Color systemColor(CSSValueID) const OVERRIDE; |
| 39 | 39 |
| 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 virtual String extraMediaControlsStyleSheet() OVERRIDE; | 46 virtual String extraMediaControlsStyleSheet() OVERRIDE; |
| 47 | 47 |
| 48 virtual Color platformTapHighlightColor() const OVERRIDE | 48 virtual Color platformTapHighlightColor() const OVERRIDE |
| (...skipping 13 matching lines...) Expand all Loading... |
| 62 private: | 62 private: |
| 63 virtual ~RenderThemeChromiumAndroid(); | 63 virtual ~RenderThemeChromiumAndroid(); |
| 64 | 64 |
| 65 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; | 65 static const RGBA32 defaultTapHighlightColor = 0x6633b5e5; |
| 66 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; | 66 static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace WebCore | 69 } // namespace WebCore |
| 70 | 70 |
| 71 #endif // RenderThemeChromiumAndroid_h | 71 #endif // RenderThemeChromiumAndroid_h |
| OLD | NEW |