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. 4 5 #include "ui/native_theme/native_theme_android.h" 6 7 #include "base/basictypes.h" 8 #include "base/logging.h" 9 10 namespace ui { 11 12 #if !defined(USE_AURA) 13 // static instance()14NativeTheme* NativeTheme::instance() { 15 return NativeThemeAndroid::instance(); 16 } 17 #endif 18 19 // static instance()20NativeThemeAndroid* NativeThemeAndroid::instance() { 21 CR_DEFINE_STATIC_LOCAL(NativeThemeAndroid, s_native_theme, ()); 22 return &s_native_theme; 23 } 24 GetSystemColor(ColorId color_id) const25SkColor NativeThemeAndroid::GetSystemColor(ColorId color_id) const { 26 NOTIMPLEMENTED(); 27 return SK_ColorBLACK; 28 } 29 NativeThemeAndroid()30NativeThemeAndroid::NativeThemeAndroid() { 31 } 32 ~NativeThemeAndroid()33NativeThemeAndroid::~NativeThemeAndroid() { 34 } 35 36 } // namespace ui 37