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

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

Issue 677103002: Expand system font values during property parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove isExpandedShorthandForAll. Created 6 years, 1 month 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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual Color platformActiveListBoxSelectionForegroundColor() const override ; 47 virtual Color platformActiveListBoxSelectionForegroundColor() const override ;
48 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri de; 48 virtual Color platformInactiveListBoxSelectionBackgroundColor() const overri de;
49 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri de; 49 virtual Color platformInactiveListBoxSelectionForegroundColor() const overri de;
50 virtual Color platformFocusRingColor() const override; 50 virtual Color platformFocusRingColor() const override;
51 51
52 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart part) o verride { return part == ListboxPart ? SmallScrollbar : RegularScrollbar; } 52 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart part) o verride { return part == ListboxPart ? SmallScrollbar : RegularScrollbar; }
53 53
54 virtual void platformColorsDidChange() override; 54 virtual void platformColorsDidChange() override;
55 55
56 // System fonts. 56 // System fonts.
57 virtual void systemFont(CSSValueID, FontDescription&) const override; 57 virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, fl oat& fontSize, AtomicString& fontFamily) const override;
58 58
59 virtual int minimumMenuListSize(RenderStyle*) const override; 59 virtual int minimumMenuListSize(RenderStyle*) const override;
60 60
61 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const override; 61 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const override;
62 62
63 virtual IntSize sliderTickSize() const override; 63 virtual IntSize sliderTickSize() const override;
64 virtual int sliderTickOffsetFromTrackCenter() const override; 64 virtual int sliderTickOffsetFromTrackCenter() const override;
65 65
66 virtual int popupInternalPaddingLeft(RenderStyle*) const override; 66 virtual int popupInternalPaddingLeft(RenderStyle*) const override;
67 virtual int popupInternalPaddingRight(RenderStyle*) const override; 67 virtual int popupInternalPaddingRight(RenderStyle*) const override;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 mutable RetainPtr<NSTextFieldCell> m_textField; 200 mutable RetainPtr<NSTextFieldCell> m_textField;
201 201
202 mutable HashMap<int, RGBA32> m_systemColorCache; 202 mutable HashMap<int, RGBA32> m_systemColorCache;
203 203
204 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 204 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
205 }; 205 };
206 206
207 } // namespace blink 207 } // namespace blink
208 208
209 #endif // RenderThemeChromiumMac_h 209 #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