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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderTheme.h

Issue 56198: Roll out dominantScript, getGenericFontForScript patches to unfork a bunch of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 Color inactiveListBoxSelectionBackgroundColor() const; 117 Color inactiveListBoxSelectionBackgroundColor() const;
118 Color inactiveListBoxSelectionForegroundColor() const; 118 Color inactiveListBoxSelectionForegroundColor() const;
119 119
120 virtual Color platformTextSearchHighlightColor() const; 120 virtual Color platformTextSearchHighlightColor() const;
121 121
122 virtual void platformColorsDidChange(); 122 virtual void platformColorsDidChange();
123 123
124 virtual double caretBlinkInterval() const { return 0.5; } 124 virtual double caretBlinkInterval() const { return 0.5; }
125 125
126 // System fonts and colors for CSS. 126 // System fonts and colors for CSS.
127 virtual void systemFont(int cssValueId, Document*, FontDescription&) const = 0; 127 virtual void systemFont(int cssValueId, FontDescription&) const = 0;
128 virtual Color systemColor(int cssValueId) const; 128 virtual Color systemColor(int cssValueId) const;
129 129
130 virtual int minimumMenuListSize(RenderStyle*) const { return 0; } 130 virtual int minimumMenuListSize(RenderStyle*) const { return 0; }
131 131
132 virtual void adjustSliderThumbSize(RenderObject*) const; 132 virtual void adjustSliderThumbSize(RenderObject*) const;
133 133
134 virtual int popupInternalPaddingLeft(RenderStyle*) const { return 0; } 134 virtual int popupInternalPaddingLeft(RenderStyle*) const { return 0; }
135 virtual int popupInternalPaddingRight(RenderStyle*) const { return 0; } 135 virtual int popupInternalPaddingRight(RenderStyle*) const { return 0; }
136 virtual int popupInternalPaddingTop(RenderStyle*) const { return 0; } 136 virtual int popupInternalPaddingTop(RenderStyle*) const { return 0; }
137 virtual int popupInternalPaddingBottom(RenderStyle*) const { return 0; } 137 virtual int popupInternalPaddingBottom(RenderStyle*) const { return 0; }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #endif 255 #endif
256 }; 256 };
257 257
258 // Function to obtain the theme. This is implemented in your platform-specific theme implementation to hand 258 // Function to obtain the theme. This is implemented in your platform-specific theme implementation to hand
259 // back the appropriate platform theme. 259 // back the appropriate platform theme.
260 RenderTheme* theme(); 260 RenderTheme* theme();
261 261
262 } // namespace WebCore 262 } // namespace WebCore
263 263
264 #endif // RenderTheme_h 264 #endif // RenderTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698