| Index: ui/gfx/native_theme_base.cc
|
| diff --git a/ui/gfx/native_theme_base.cc b/ui/gfx/native_theme_base.cc
|
| index f6755d90eca373930199ab062580854620e50705..bea60dff29f53d57be849ec5c3fe1775c6e212ed 100644
|
| --- a/ui/gfx/native_theme_base.cc
|
| +++ b/ui/gfx/native_theme_base.cc
|
| @@ -16,16 +16,6 @@
|
|
|
| namespace {
|
|
|
| -// Hard-coded colors for use when there is no system theme (Aura, ChromeOS).
|
| -#if defined(USE_AURA)
|
| -const SkColor kDefaultDialogBackgroundColor = SK_ColorWHITE;
|
| -#else
|
| -const SkColor kDefaultDialogBackgroundColor = SkColorSetRGB(200, 200, 200);
|
| -#endif
|
| -const SkColor kDefaultFocusedBorderColor= SkColorSetRGB(0x4D, 0x90, 0xFE);
|
| -const SkColor kDefaultUnfocusedBorderColor = SkColorSetRGB(0xD9, 0xD9, 0xD9);
|
| -const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128);
|
| -
|
| // These are the default dimensions of radio buttons and checkboxes.
|
| const int kCheckboxAndRadioWidth = 13;
|
| const int kCheckboxAndRadioHeight = 13;
|
| @@ -212,23 +202,6 @@ void NativeThemeBase::Paint(SkCanvas* canvas,
|
| }
|
| }
|
|
|
| -SkColor NativeThemeBase::GetSystemColor(ColorId color_id) const {
|
| - // This implementation returns hardcoded colors. It's used by NativeThemeAura
|
| - // and NativeThemeChromeos and overridden by NativeThemeGtk.
|
| - switch (color_id) {
|
| - case kColorId_DialogBackground:
|
| - return kDefaultDialogBackgroundColor;
|
| - case kColorId_FocusedBorderColor:
|
| - return kDefaultFocusedBorderColor;
|
| - case kColorId_UnfocusedBorderColor:
|
| - return kDefaultUnfocusedBorderColor;
|
| - default:
|
| - NOTREACHED() << "Invalid color_id: " << color_id;
|
| - break;
|
| - }
|
| - return kInvalidColorIdColor;
|
| -}
|
| -
|
| NativeThemeBase::NativeThemeBase() {
|
| }
|
|
|
|
|