summaryrefslogtreecommitdiffstats
path: root/ui/gfx/native_theme_gtk.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 23:10:10 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 23:10:10 +0000
commit1e25fbf5e01d0ea8045c43288ee58fc7d0b3a3a2 (patch)
tree9f277e5e69c7b6a9586f827d425d6b66ea29d466 /ui/gfx/native_theme_gtk.h
parent84d9ab4c2dc42dd7d18672c2855c92589bf9208b (diff)
downloadchromium_src-1e25fbf5e01d0ea8045c43288ee58fc7d0b3a3a2.zip
chromium_src-1e25fbf5e01d0ea8045c43288ee58fc7d0b3a3a2.tar.gz
chromium_src-1e25fbf5e01d0ea8045c43288ee58fc7d0b3a3a2.tar.bz2
Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory.
BUG=103304,125844 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10310136 TBR=tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/10387121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/native_theme_gtk.h')
-rw-r--r--ui/gfx/native_theme_gtk.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ui/gfx/native_theme_gtk.h b/ui/gfx/native_theme_gtk.h
new file mode 100644
index 0000000..2fb205c
--- /dev/null
+++ b/ui/gfx/native_theme_gtk.h
@@ -0,0 +1,27 @@
+// 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.
+
+#ifndef UI_GFX_NATIVE_THEME_GTK_H_
+#define UI_GFX_NATIVE_THEME_GTK_H_
+#pragma once
+
+#include "ui/gfx/native_theme_base.h"
+
+namespace gfx {
+
+// GTK implementation of native theme support.
+class NativeThemeGtk : public NativeThemeBase {
+ public:
+ static const NativeThemeGtk* instance();
+
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
+
+ private:
+ NativeThemeGtk();
+ virtual ~NativeThemeGtk();
+};
+
+} // namespace gfx
+
+#endif // UI_GFX_NATIVE_THEME_GTK_H_