| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/base/native_theme/native_theme.h" | |
| 6 | |
| 7 namespace ui { | |
| 8 | |
| 9 unsigned int NativeTheme::thumb_inactive_color_ = 0xeaeaea; | |
| 10 unsigned int NativeTheme::thumb_active_color_ = 0xf4f4f4; | |
| 11 unsigned int NativeTheme::track_color_ = 0xd3d3d3; | |
| 12 | |
| 13 void NativeTheme::SetScrollbarColors(unsigned inactive_color, | |
| 14 unsigned active_color, | |
| 15 unsigned track_color) const { | |
| 16 thumb_inactive_color_ = inactive_color; | |
| 17 thumb_active_color_ = active_color; | |
| 18 track_color_ = track_color; | |
| 19 } | |
| 20 | |
| 21 // NativeTheme::instance() is implemented in the platform specific source files, | |
| 22 // such as native_theme_win.cc or native_theme_linux.cc | |
| 23 | |
| 24 } // namespace ui | |
| OLD | NEW |