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

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

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 private: 159 private:
160 bool m_needsFlipping; 160 bool m_needsFlipping;
161 const PaintInfo& m_paintInfo; 161 const PaintInfo& m_paintInfo;
162 }; 162 };
163 163
164 private: 164 private:
165 virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; } 165 virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; }
166 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE; 166 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE;
167 167
168 #if ENABLE(DATALIST_ELEMENT)
169 virtual LayoutUnit sliderTickSnappingThreshold() const OVERRIDE; 168 virtual LayoutUnit sliderTickSnappingThreshold() const OVERRIDE;
170 #endif
171 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 169 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
172 virtual bool supportsCalendarPicker(const AtomicString& type) const OVERRIDE ; 170 virtual bool supportsCalendarPicker(const AtomicString& type) const OVERRIDE ;
173 #endif 171 #endif
174 172
175 int menuListInternalPadding(RenderStyle*, int paddingType) const; 173 int menuListInternalPadding(RenderStyle*, int paddingType) const;
176 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 174 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
177 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 175 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
178 176
179 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 177 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
180 }; 178 };
181 179
182 } // namespace WebCore 180 } // namespace WebCore
183 181
184 #endif // RenderThemeChromiumSkia_h 182 #endif // RenderThemeChromiumSkia_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698