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

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

Issue 10310136: ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win 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/gfx/native_theme.h ('k') | ui/gfx/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) 2011 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/gfx/native_theme.h"
6
7 #include "ui/gfx/size.h"
8
9 namespace gfx {
10
11 unsigned int NativeTheme::thumb_inactive_color_ = 0xeaeaea;
12 unsigned int NativeTheme::thumb_active_color_ = 0xf4f4f4;
13 unsigned int NativeTheme::track_color_ = 0xd3d3d3;
14
15 void NativeTheme::SetScrollbarColors(unsigned inactive_color,
16 unsigned active_color,
17 unsigned track_color) const {
18 thumb_inactive_color_ = inactive_color;
19 thumb_active_color_ = active_color;
20 track_color_ = track_color;
21 }
22
23 // NativeTheme::instance() is implemented in the platform specific source files,
24 // such as native_theme_win.cc or native_theme_linux.cc
25
26 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/native_theme.h ('k') | ui/gfx/native_theme_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698