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

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

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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, 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 virtual LayoutUnit sliderTickSnappingThreshold() const; 201 virtual LayoutUnit sliderTickSnappingThreshold() const;
202 // Returns size of one slider tick mark for a horizontal track. 202 // Returns size of one slider tick mark for a horizontal track.
203 // For vertical tracks we rotate it and use it. i.e. Width is always length along the track. 203 // For vertical tracks we rotate it and use it. i.e. Width is always length along the track.
204 virtual IntSize sliderTickSize() const = 0; 204 virtual IntSize sliderTickSize() const = 0;
205 // Returns the distance of slider tick origin from the slider track center. 205 // Returns the distance of slider tick origin from the slider track center.
206 virtual int sliderTickOffsetFromTrackCenter() const = 0; 206 virtual int sliderTickOffsetFromTrackCenter() const = 0;
207 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&); 207 void paintSliderTicks(RenderObject*, const PaintInfo&, const IntRect&);
208 #endif 208 #endif
209 209
210 virtual bool shouldShowPlaceholderWhenFocused() const { return false; } 210 virtual bool shouldShowPlaceholderWhenFocused() const { return false; }
211 virtual bool shouldHaveSpinButton(HTMLInputElement*) const; 211 virtual bool shouldHaveSpinButton(Handle<HTMLInputElement>) const;
212 212
213 // Functions for <select> elements. 213 // Functions for <select> elements.
214 virtual bool delegatesMenuListRendering() const { return false; } 214 virtual bool delegatesMenuListRendering() const { return false; }
215 virtual bool popsMenuByArrowKeys() const { return false; } 215 virtual bool popsMenuByArrowKeys() const { return false; }
216 virtual bool popsMenuBySpaceOrReturn() const { return false; } 216 virtual bool popsMenuBySpaceOrReturn() const { return false; }
217 217
218 virtual String fileListDefaultLabel(bool multipleFilesAllowed) const; 218 virtual String fileListDefaultLabel(bool multipleFilesAllowed) const;
219 virtual String fileListNameForWidth(const FileList*, const Font&, int width, bool multipleFilesAllowed) const; 219 virtual String fileListNameForWidth(const FileList*, const Font&, int width, bool multipleFilesAllowed) const;
220 220
221 virtual bool shouldOpenPickerWithF4Key() const; 221 virtual bool shouldOpenPickerWithF4Key() const;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 static const RGBA32 defaultTapHighlightColor = 0x66000000; 348 static const RGBA32 defaultTapHighlightColor = 0x66000000;
349 349
350 #if USE(NEW_THEME) 350 #if USE(NEW_THEME)
351 Theme* m_theme; // The platform-specific theme. 351 Theme* m_theme; // The platform-specific theme.
352 #endif 352 #endif
353 }; 353 };
354 354
355 } // namespace WebCore 355 } // namespace WebCore
356 356
357 #endif // RenderTheme_h 357 #endif // RenderTheme_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTextControlSingleLine.cpp ('k') | Source/core/rendering/RenderTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698