Roll src/third_party/skia f93dd48:d1783ae
[chromium-blink-merge.git] / ui / native_theme / native_theme_android.cc
blob5fe2632a7e4ab66d9f0c6a1922955d0e02203cd9
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.
5 #include "ui/native_theme/native_theme_android.h"
7 #include "base/basictypes.h"
8 #include "base/logging.h"
10 namespace ui {
12 #if !defined(USE_AURA)
13 // static
14 NativeTheme* NativeTheme::instance() {
15 return NativeThemeAndroid::instance();
17 #endif
19 // static
20 NativeThemeAndroid* NativeThemeAndroid::instance() {
21 CR_DEFINE_STATIC_LOCAL(NativeThemeAndroid, s_native_theme, ());
22 return &s_native_theme;
25 SkColor NativeThemeAndroid::GetSystemColor(ColorId color_id) const {
26 NOTIMPLEMENTED();
27 return SK_ColorBLACK;
30 NativeThemeAndroid::NativeThemeAndroid() {
33 NativeThemeAndroid::~NativeThemeAndroid() {
36 } // namespace ui