diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-10 22:21:02 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-10 22:21:02 +0000 |
commit | e8d6b9f3973dbef4cc61647078015bdea7522a6d (patch) | |
tree | 3426cd86f30d21e07d74b53ad1fa78b954a7eb26 /ui/gfx/native_theme_gtk.cc | |
parent | 9193d2f406ce80e36bcb17cdf59badb844e719bc (diff) | |
download | chromium_src-e8d6b9f3973dbef4cc61647078015bdea7522a6d.zip chromium_src-e8d6b9f3973dbef4cc61647078015bdea7522a6d.tar.gz chromium_src-e8d6b9f3973dbef4cc61647078015bdea7522a6d.tar.bz2 |
Aura - Add NativeThemeAura, extract NativeThemeGtk, add sample widget window.
+ Add native_theme_aura and native_theme_gtk, fix button background colors
+ Fix native_theme_chromeos instance generation
+ Rename button-related image resources
+ Rename class NativeThemeLinux to NativeThemeBase
+ Add window showing sample widgets
BUG=98305
TEST=manual
Review URL: http://codereview.chromium.org/8199021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/native_theme_gtk.cc')
-rw-r--r-- | ui/gfx/native_theme_gtk.cc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ui/gfx/native_theme_gtk.cc b/ui/gfx/native_theme_gtk.cc new file mode 100644 index 0000000..00ddc5f --- /dev/null +++ b/ui/gfx/native_theme_gtk.cc @@ -0,0 +1,26 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "ui/gfx/native_theme_gtk.h" + +namespace gfx { + +// static +const NativeTheme* NativeTheme::instance() { + return NativeThemeGtk::instance(); +} + +// static +const NativeThemeGtk* NativeThemeGtk::instance() { + static const NativeThemeGtk s_native_theme; + return &s_native_theme; +} + +NativeThemeGtk::NativeThemeGtk() { +} + +NativeThemeGtk::~NativeThemeGtk() { +} + +} // namespace gfx |