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

Side by Side Diff: ui/base/native_theme/native_theme.cc

Issue 10387121: Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/native_theme/native_theme.h ('k') | ui/base/native_theme/native_theme_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « ui/base/native_theme/native_theme.h ('k') | ui/base/native_theme/native_theme_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698