Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Side by Side Diff: Source/core/rendering/RenderThemeChromiumAndroid.h

Issue 16415007: Cleanup usage of CSSPropertyID and CSSValueID inside Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/rendering/RenderThemeChromiumAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698