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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.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 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 * 10 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE; 57 virtual Color platformActiveSelectionBackgroundColor() const OVERRIDE;
58 virtual Color platformInactiveSelectionBackgroundColor() const OVERRIDE; 58 virtual Color platformInactiveSelectionBackgroundColor() const OVERRIDE;
59 virtual Color platformActiveSelectionForegroundColor() const OVERRIDE; 59 virtual Color platformActiveSelectionForegroundColor() const OVERRIDE;
60 virtual Color platformInactiveSelectionForegroundColor() const OVERRIDE; 60 virtual Color platformInactiveSelectionForegroundColor() const OVERRIDE;
61 virtual Color platformFocusRingColor() const OVERRIDE; 61 virtual Color platformFocusRingColor() const OVERRIDE;
62 62
63 // To change the blink interval, override caretBlinkIntervalInternal instead of this one so that we may share layout test code an intercepts. 63 // To change the blink interval, override caretBlinkIntervalInternal instead of this one so that we may share layout test code an intercepts.
64 virtual double caretBlinkInterval() const OVERRIDE; 64 virtual double caretBlinkInterval() const OVERRIDE;
65 65
66 // System fonts. 66 // System fonts.
67 virtual void systemFont(CSSValueID, FontDescription&) const OVERRIDE; 67 virtual void systemFont(CSSValueID systemFontID, FontStyle&, FontWeight&, fl oat& fontSize, AtomicString& fontFamily) const OVERRIDE;
68 68
69 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE; 69 virtual int minimumMenuListSize(RenderStyle*) const OVERRIDE;
70 70
71 virtual void setCheckboxSize(RenderStyle*) const OVERRIDE; 71 virtual void setCheckboxSize(RenderStyle*) const OVERRIDE;
72 72
73 virtual void setRadioSize(RenderStyle*) const OVERRIDE; 73 virtual void setRadioSize(RenderStyle*) const OVERRIDE;
74 74
75 virtual void adjustButtonStyle(RenderStyle*, Element*) const OVERRIDE; 75 virtual void adjustButtonStyle(RenderStyle*, Element*) const OVERRIDE;
76 76
77 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE; 77 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 int menuListInternalPadding(RenderStyle*, int paddingType) const; 153 int menuListInternalPadding(RenderStyle*, int paddingType) const;
154 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 154 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
155 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 155 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
156 156
157 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 157 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
158 }; 158 };
159 159
160 } // namespace WebCore 160 } // namespace WebCore
161 161
162 #endif // RenderThemeChromiumSkia_h 162 #endif // RenderThemeChromiumSkia_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.mm ('k') | Source/core/rendering/RenderThemeChromiumSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698