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

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

Issue 952593003: Remove argument to progress bar timing methods on LayoutTheme. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/layout/LayoutProgress.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual int popupInternalPaddingTop(const LayoutStyle&) const { return 0; } 151 virtual int popupInternalPaddingTop(const LayoutStyle&) const { return 0; }
152 virtual int popupInternalPaddingBottom(const LayoutStyle&) const { return 0; } 152 virtual int popupInternalPaddingBottom(const LayoutStyle&) const { return 0; }
153 virtual bool popupOptionSupportsTextIndent() const { return false; } 153 virtual bool popupOptionSupportsTextIndent() const { return false; }
154 154
155 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn RegularScrollbar; } 155 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu rn RegularScrollbar; }
156 156
157 // Method for painting the caps lock indicator 157 // Method for painting the caps lock indicator
158 virtual bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const I ntRect&) { return 0; }; 158 virtual bool paintCapsLockIndicator(LayoutObject*, const PaintInfo&, const I ntRect&) { return 0; };
159 159
160 // Returns the repeat interval of the animation for the progress bar. 160 // Returns the repeat interval of the animation for the progress bar.
161 virtual double animationRepeatIntervalForProgressBar(LayoutProgress*) const; 161 virtual double animationRepeatIntervalForProgressBar() const;
162 // Returns the duration of the animation for the progress bar. 162 // Returns the duration of the animation for the progress bar.
163 virtual double animationDurationForProgressBar(LayoutProgress*) const; 163 virtual double animationDurationForProgressBar() const;
164 164
165 // Media controls 165 // Media controls
166 virtual String formatMediaControlsTime(float time) const; 166 virtual String formatMediaControlsTime(float time) const;
167 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const; 167 virtual String formatMediaControlsCurrentTime(float currentTime, float durat ion) const;
168 168
169 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const ; 169 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const ;
170 virtual bool supportsMeter(ControlPart) const; 170 virtual bool supportsMeter(ControlPart) const;
171 171
172 // Returns size of one slider tick mark for a horizontal track. 172 // Returns size of one slider tick mark for a horizontal track.
173 // For vertical tracks we rotate it and use it. i.e. Width is always length along the track. 173 // For vertical tracks we rotate it and use it. i.e. Width is always length along the track.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 307 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
308 308
309 #if USE(NEW_THEME) 309 #if USE(NEW_THEME)
310 Theme* m_platformTheme; // The platform-specific theme. 310 Theme* m_platformTheme; // The platform-specific theme.
311 #endif 311 #endif
312 }; 312 };
313 313
314 } // namespace blink 314 } // namespace blink
315 315
316 #endif // LayoutTheme_h 316 #endif // LayoutTheme_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutProgress.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698