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

Unified Diff: sky/viewer/platform/webthemeengine_impl.cc

Issue 653993007: Remove straggling bits of listboxes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/testing/platform/webthemeengine_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/platform/webthemeengine_impl.cc
diff --git a/sky/viewer/platform/webthemeengine_impl.cc b/sky/viewer/platform/webthemeengine_impl.cc
index e543c8e7051e12c76ce1b24ef860d0d72cdc4e77..d34f0822a3440582222ba8b7f416ee46b2c7ea65 100644
--- a/sky/viewer/platform/webthemeengine_impl.cc
+++ b/sky/viewer/platform/webthemeengine_impl.cc
@@ -44,8 +44,6 @@ static ui::NativeTheme::Part NativeThemePart(
return ui::NativeTheme::kRadio;
case WebThemeEngine::PartButton:
return ui::NativeTheme::kPushButton;
- case WebThemeEngine::PartTextField:
- return ui::NativeTheme::kTextField;
case WebThemeEngine::PartMenuList:
return ui::NativeTheme::kMenuList;
case WebThemeEngine::PartSliderTrack:
@@ -113,14 +111,6 @@ static void GetNativeThemeExtraParams(
native_theme_extra_params->button.background_color =
extra_params->button.backgroundColor;
break;
- case WebThemeEngine::PartTextField:
- native_theme_extra_params->text_field.is_text_area =
- extra_params->textField.isTextArea;
- native_theme_extra_params->text_field.is_listbox =
- extra_params->textField.isListbox;
- native_theme_extra_params->text_field.background_color =
- extra_params->textField.backgroundColor;
- break;
case WebThemeEngine::PartMenuList:
native_theme_extra_params->menu_list.has_border =
extra_params->menuList.hasBorder;
« no previous file with comments | « sky/engine/testing/platform/webthemeengine_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698