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

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

Issue 205743004: Expand system font values during font property parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and fix up unittest use of systemFont() Created 6 years, 9 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 Apple Computer, Inc. 4 * Copyright (C) 2005 Apple Computer, Inc.
5 * Copyright (C) 2008, 2009 Google, Inc. 5 * Copyright (C) 2008, 2009 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual Color platformActiveListBoxSelectionForegroundColor() const OVERRIDE ; 53 virtual Color platformActiveListBoxSelectionForegroundColor() const OVERRIDE ;
54 virtual Color platformInactiveListBoxSelectionBackgroundColor() const OVERRI DE; 54 virtual Color platformInactiveListBoxSelectionBackgroundColor() const OVERRI DE;
55 virtual Color platformInactiveListBoxSelectionForegroundColor() const OVERRI DE; 55 virtual Color platformInactiveListBoxSelectionForegroundColor() const OVERRI DE;
56 virtual Color platformFocusRingColor() const OVERRIDE; 56 virtual Color platformFocusRingColor() const OVERRIDE;
57 57
58 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) OVERRI DE { return SmallScrollbar; } 58 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) OVERRI DE { return SmallScrollbar; }
59 59
60 virtual void platformColorsDidChange() OVERRIDE; 60 virtual void platformColorsDidChange() OVERRIDE;
61 61
62 // System fonts. 62 // System fonts.
63 virtual void systemFont(CSSValueID, FontDescription&) const OVERRIDE; 63 virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, fl oat& fontSize, AtomicString& fontFamily) const OVERRIDE;
64 64
65 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE; 65 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE;
66 66
67 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE; 67 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const OVERRIDE;
68 68
69 virtual IntSize sliderTickSize() const OVERRIDE; 69 virtual IntSize sliderTickSize() const OVERRIDE;
70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; 70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE;
71 71
72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE; 72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE;
73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE; 73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 mutable RetainPtr<NSTextFieldCell> m_textField; 205 mutable RetainPtr<NSTextFieldCell> m_textField;
206 206
207 mutable HashMap<int, RGBA32> m_systemColorCache; 207 mutable HashMap<int, RGBA32> m_systemColorCache;
208 208
209 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 209 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
210 }; 210 };
211 211
212 } // namespace WebCore 212 } // namespace WebCore
213 213
214 #endif // RenderThemeChromiumMac_h 214 #endif // RenderThemeChromiumMac_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumFontProviderWin.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698