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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual Color platformActiveListBoxSelectionForegroundColor() const; 52 virtual Color platformActiveListBoxSelectionForegroundColor() const;
53 virtual Color platformInactiveListBoxSelectionBackgroundColor() const; 53 virtual Color platformInactiveListBoxSelectionBackgroundColor() const;
54 virtual Color platformInactiveListBoxSelectionForegroundColor() const; 54 virtual Color platformInactiveListBoxSelectionForegroundColor() const;
55 virtual Color platformFocusRingColor() const; 55 virtual Color platformFocusRingColor() const;
56 56
57 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn SmallScrollbar; } 57 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn SmallScrollbar; }
58 58
59 virtual void platformColorsDidChange(); 59 virtual void platformColorsDidChange();
60 60
61 // System fonts. 61 // System fonts.
62 virtual void systemFont(int cssValueId, FontDescription&) const; 62 virtual void systemFont(CSSValueID, FontDescription&) const;
63 63
64 virtual int minimumMenuListSize(RenderStyle*) const; 64 virtual int minimumMenuListSize(RenderStyle*) const;
65 65
66 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; 66 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const;
67 67
68 virtual IntSize sliderTickSize() const OVERRIDE; 68 virtual IntSize sliderTickSize() const OVERRIDE;
69 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; 69 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE;
70 70
71 virtual int popupInternalPaddingLeft(RenderStyle*) const; 71 virtual int popupInternalPaddingLeft(RenderStyle*) const;
72 virtual int popupInternalPaddingRight(RenderStyle*) const; 72 virtual int popupInternalPaddingRight(RenderStyle*) const;
73 virtual int popupInternalPaddingTop(RenderStyle*) const; 73 virtual int popupInternalPaddingTop(RenderStyle*) const;
74 virtual int popupInternalPaddingBottom(RenderStyle*) const; 74 virtual int popupInternalPaddingBottom(RenderStyle*) const;
75 75
76 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I ntRect&) OVERRIDE; 76 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I ntRect&) OVERRIDE;
77 77
78 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } 78 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; }
79 79
80 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE; 80 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE;
81 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&); 81 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&);
82 virtual bool supportsMeter(ControlPart) const; 82 virtual bool supportsMeter(ControlPart) const;
83 83
84 // Returns the repeat interval of the animation for the progress bar. 84 // Returns the repeat interval of the animation for the progress bar.
85 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const; 85 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const;
86 // Returns the duration of the animation for the progress bar. 86 // Returns the duration of the animation for the progress bar.
87 virtual double animationDurationForProgressBar(RenderProgress*) const; 87 virtual double animationDurationForProgressBar(RenderProgress*) const;
88 88
89 virtual Color systemColor(int cssValueId) const; 89 virtual Color systemColor(CSSValueID) const;
90 90
91 protected: 91 protected:
92 RenderThemeChromiumMac(); 92 RenderThemeChromiumMac();
93 virtual ~RenderThemeChromiumMac(); 93 virtual ~RenderThemeChromiumMac();
94 94
95 virtual bool supportsSelectionForegroundColors() const { return false; } 95 virtual bool supportsSelectionForegroundColors() const { return false; }
96 96
97 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) ; 97 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&) ;
98 virtual void adjustTextFieldStyle(StyleResolver*, RenderStyle*, Element*) co nst; 98 virtual void adjustTextFieldStyle(StyleResolver*, RenderStyle*, Element*) co nst;
99 99
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 bool m_isSliderThumbVerticalPressed; 222 bool m_isSliderThumbVerticalPressed;
223 223
224 mutable HashMap<int, RGBA32> m_systemColorCache; 224 mutable HashMap<int, RGBA32> m_systemColorCache;
225 225
226 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; 226 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver;
227 }; 227 };
228 228
229 } // namespace WebCore 229 } // namespace WebCore
230 230
231 #endif // RenderThemeChromiumMac_h 231 #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