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

Unified Diff: Source/core/rendering/RenderTheme.cpp

Issue 347773002: Implement select listbox using shadow DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTheme.cpp
diff --git a/Source/core/rendering/RenderTheme.cpp b/Source/core/rendering/RenderTheme.cpp
index 3de1fea0cbe6f533880a2c4a4dadd95b98f160a7..5cf85f2a6ed4bf886a07e2fae07fd6131cc35ee6 100644
--- a/Source/core/rendering/RenderTheme.cpp
+++ b/Source/core/rendering/RenderTheme.cpp
@@ -321,7 +321,6 @@ bool RenderTheme::paint(RenderObject* o, const PaintInfo& paintInfo, const IntRe
case MenulistButtonPart:
case TextFieldPart:
case TextAreaPart:
- case ListboxPart:
return true;
case SearchFieldPart:
return paintSearchField(o, paintInfo, r);
@@ -344,11 +343,11 @@ bool RenderTheme::paintBorderOnly(RenderObject* o, const PaintInfo& paintInfo, c
switch (o->style()->appearance()) {
case TextFieldPart:
return paintTextField(o, paintInfo, r);
- case ListboxPart:
case TextAreaPart:
return paintTextArea(o, paintInfo, r);
case MenulistButtonPart:
case SearchFieldPart:
+ case ListboxPart:
return true;
case CheckboxPart:
case RadioPart:
@@ -384,7 +383,6 @@ bool RenderTheme::paintDecorations(RenderObject* o, const PaintInfo& paintInfo,
return paintMenuListButton(o, paintInfo, r);
case TextFieldPart:
case TextAreaPart:
- case ListboxPart:
case CheckboxPart:
case RadioPart:
case PushButtonPart:
@@ -584,7 +582,6 @@ bool RenderTheme::isControlStyled(const RenderStyle* style, const CachedUAStyle*
case RatingLevelIndicatorPart:
return isBackgroundOrBorderStyled(*style, *uaStyle);
- case ListboxPart:
case MenulistPart:
case SearchFieldPart:
case TextAreaPart:
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698