summaryrefslogtreecommitdiffstats
path: root/ui/native_theme/native_theme_android.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 13:31:18 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 13:31:18 +0000
commit990e62268f8a7074995ea00895da064312e49535 (patch)
tree6447bc15cd3e2f728b7351b27571a3c6da35ae41 /ui/native_theme/native_theme_android.h
parent8d0f9016803d12e160b588cca2a7fc4612323aad (diff)
downloadchromium_src-990e62268f8a7074995ea00895da064312e49535.zip
chromium_src-990e62268f8a7074995ea00895da064312e49535.tar.gz
chromium_src-990e62268f8a7074995ea00895da064312e49535.tar.bz2
ui: Make native_theme its own library.
BUG=103304 R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11275322 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/native_theme/native_theme_android.h')
-rw-r--r--ui/native_theme/native_theme_android.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/native_theme/native_theme_android.h b/ui/native_theme/native_theme_android.h
new file mode 100644
index 0000000..e1d2f78
--- /dev/null
+++ b/ui/native_theme/native_theme_android.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 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_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
+#define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
+
+#include "ui/native_theme/native_theme_base.h"
+
+namespace ui {
+
+// Android implementation of native theme support.
+class NativeThemeAndroid : public NativeThemeBase {
+ public:
+ static NativeThemeAndroid* instance();
+
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
+
+ private:
+ NativeThemeAndroid();
+ virtual ~NativeThemeAndroid();
+
+ DISALLOW_COPY_AND_ASSIGN(NativeThemeAndroid);
+};
+
+} // namespace ui
+
+#endif // UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_