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

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: Add <datalist> display:none rule in RenderTheme::extraDefaultStyleSheet depending on the runtime fl… 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 private: 156 private:
157 bool m_needsFlipping; 157 bool m_needsFlipping;
158 const PaintInfo& m_paintInfo; 158 const PaintInfo& m_paintInfo;
159 }; 159 };
160 160
161 private: 161 private:
162 virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; } 162 virtual Color disabledTextColor(const Color& textColor, const Color&) const OVERRIDE { return textColor; }
163 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE; 163 virtual bool shouldShowPlaceholderWhenFocused() const OVERRIDE;
164 164
165 #if ENABLE(DATALIST_ELEMENT)
166 virtual LayoutUnit sliderTickSnappingThreshold() const OVERRIDE; 165 virtual LayoutUnit sliderTickSnappingThreshold() const OVERRIDE;
167 #endif
168 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 166 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
169 virtual bool supportsCalendarPicker(const AtomicString& type) const OVERRIDE ; 167 virtual bool supportsCalendarPicker(const AtomicString& type) const OVERRIDE ;
170 #endif 168 #endif
171 169
172 int menuListInternalPadding(RenderStyle*, int paddingType) const; 170 int menuListInternalPadding(RenderStyle*, int paddingType) const;
173 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*); 171 bool paintMediaButtonInternal(GraphicsContext*, const IntRect&, Image*);
174 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const; 172 IntRect convertToPaintingRect(RenderObject* inputRenderer, const RenderObjec t* partRenderer, LayoutRect partRect, const IntRect& localOffset) const;
175 173
176 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black. 174 static const RGBA32 defaultTapHighlightColor = 0x2e000000; // 18% black.
177 }; 175 };
178 176
179 } // namespace WebCore 177 } // namespace WebCore
180 178
181 #endif // RenderThemeChromiumSkia_h 179 #endif // RenderThemeChromiumSkia_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698