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 #ifndef UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_
8 #include "ui/native_theme/native_theme_base.h"
12 // Android implementation of native theme support.
13 class NativeThemeAndroid
: public NativeThemeBase
{
15 static NativeThemeAndroid
* instance();
18 gfx::Size
GetPartSize(Part part
,
20 const ExtraParams
& extra
) const override
;
21 SkColor
GetSystemColor(ColorId color_id
) const override
;
25 void AdjustCheckboxRadioRectForPadding(SkRect
* rect
) const override
;
29 ~NativeThemeAndroid() override
;
31 DISALLOW_COPY_AND_ASSIGN(NativeThemeAndroid
);
36 #endif // UI_NATIVE_THEME_NATIVE_THEME_ANDROID_H_