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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumDefault.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 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * Copyright (C) 2009 Kenneth Rohde Christiansen 10 * Copyright (C) 2009 Kenneth Rohde Christiansen
(...skipping 20 matching lines...) Expand all
31 31
32 #include "core/rendering/RenderThemeChromiumSkia.h" 32 #include "core/rendering/RenderThemeChromiumSkia.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class RenderThemeChromiumDefault : public RenderThemeChromiumSkia { 36 class RenderThemeChromiumDefault : public RenderThemeChromiumSkia {
37 public: 37 public:
38 static PassRefPtr<RenderTheme> create(); 38 static PassRefPtr<RenderTheme> create();
39 virtual String extraDefaultStyleSheet(); 39 virtual String extraDefaultStyleSheet();
40 40
41 virtual Color systemColor(int cssValidId) const; 41 virtual Color systemColor(CSSValueID) const;
42 42
43 // A method asking if the control changes its tint when the window has focus or not. 43 // A method asking if the control changes its tint when the window has focus or not.
44 virtual bool controlSupportsTints(const RenderObject*) const; 44 virtual bool controlSupportsTints(const RenderObject*) const;
45 45
46 // List Box selection color 46 // List Box selection color
47 virtual Color activeListBoxSelectionBackgroundColor() const; 47 virtual Color activeListBoxSelectionBackgroundColor() const;
48 virtual Color activeListBoxSelectionForegroundColor() const; 48 virtual Color activeListBoxSelectionForegroundColor() const;
49 virtual Color inactiveListBoxSelectionBackgroundColor() const; 49 virtual Color inactiveListBoxSelectionBackgroundColor() const;
50 virtual Color inactiveListBoxSelectionForegroundColor() const; 50 virtual Color inactiveListBoxSelectionForegroundColor() const;
51 51
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 static unsigned m_activeSelectionBackgroundColor; 97 static unsigned m_activeSelectionBackgroundColor;
98 static unsigned m_activeSelectionForegroundColor; 98 static unsigned m_activeSelectionForegroundColor;
99 static unsigned m_inactiveSelectionBackgroundColor; 99 static unsigned m_inactiveSelectionBackgroundColor;
100 static unsigned m_inactiveSelectionForegroundColor; 100 static unsigned m_inactiveSelectionForegroundColor;
101 }; 101 };
102 102
103 } // namespace WebCore 103 } // namespace WebCore
104 104
105 #endif // RenderThemeChromiumDefault_h 105 #endif // RenderThemeChromiumDefault_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.cpp ('k') | Source/core/rendering/RenderThemeChromiumDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698