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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTheme.h

Issue 2224063003: LayoutTheme: Clean up popupInternalPadding* functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual Color systemColor(CSSValueID) const; 139 virtual Color systemColor(CSSValueID) const;
140 140
141 // Whether the default system font should have its average character width 141 // Whether the default system font should have its average character width
142 // adjusted to match MS Shell Dlg. 142 // adjusted to match MS Shell Dlg.
143 virtual bool needsHackForTextControlWithFontFamily(const AtomicString&) cons t { return false; } 143 virtual bool needsHackForTextControlWithFontFamily(const AtomicString&) cons t { return false; }
144 144
145 virtual int minimumMenuListSize(const ComputedStyle&) const { return 0; } 145 virtual int minimumMenuListSize(const ComputedStyle&) const { return 0; }
146 146
147 virtual void adjustSliderThumbSize(ComputedStyle&) const; 147 virtual void adjustSliderThumbSize(ComputedStyle&) const;
148 148
149 virtual int popupInternalPaddingLeft(const ComputedStyle&) const { return 0; } 149 virtual int popupInternalPaddingStart(const ComputedStyle&) const { return 0 ; }
150 virtual int popupInternalPaddingRight(const ComputedStyle&) const { return 0 ; } 150 virtual int popupInternalPaddingEnd(const ComputedStyle&) const { return 0; }
151 virtual int popupInternalPaddingTop(const ComputedStyle&) const { return 0; } 151 virtual int popupInternalPaddingTop(const ComputedStyle&) const { return 0; }
152 virtual int popupInternalPaddingBottom(const ComputedStyle&) const { return 0; } 152 virtual int popupInternalPaddingBottom(const ComputedStyle&) const { return 0; }
153 153
154 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn RegularScrollbar; } 154 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn RegularScrollbar; }
155 155
156 // Returns the repeat interval of the animation for the progress bar. 156 // Returns the repeat interval of the animation for the progress bar.
157 virtual double animationRepeatIntervalForProgressBar() const; 157 virtual double animationRepeatIntervalForProgressBar() const;
158 // Returns the duration of the animation for the progress bar. 158 // Returns the duration of the animation for the progress bar.
159 virtual double animationDurationForProgressBar() const; 159 virtual double animationDurationForProgressBar() const;
160 160
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static const RGBA32 defaultTapHighlightColor = 0x66000000; 250 static const RGBA32 defaultTapHighlightColor = 0x66000000;
251 251
252 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 252 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
253 253
254 Theme* m_platformTheme; // The platform-specific theme. 254 Theme* m_platformTheme; // The platform-specific theme.
255 }; 255 };
256 256
257 } // namespace blink 257 } // namespace blink
258 258
259 #endif // LayoutTheme_h 259 #endif // LayoutTheme_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMenuList.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeDefault.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698