1 // Copyright 2013 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 "chrome/browser/themes/custom_theme_supplier.h"
7 #include "base/memory/ref_counted_memory.h"
8 #include "ui/gfx/color_utils.h"
9 #include "ui/gfx/image/image.h"
11 CustomThemeSupplier::CustomThemeSupplier(ThemeType theme_type
)
12 : theme_type_(theme_type
) {}
14 CustomThemeSupplier::~CustomThemeSupplier() {}
16 void CustomThemeSupplier::StartUsingTheme() {}
18 void CustomThemeSupplier::StopUsingTheme() {}
20 bool CustomThemeSupplier::GetTint(int id
, color_utils::HSL
* hsl
) const {
24 bool CustomThemeSupplier::GetColor(int id
, SkColor
* color
) const {
28 bool CustomThemeSupplier::GetDisplayProperty(int id
, int* result
) const {
32 gfx::Image
CustomThemeSupplier::GetImageNamed(int id
) {
36 base::RefCountedMemory
* CustomThemeSupplier::GetRawData(
38 ui::ScaleFactor scale_factor
) const {
42 bool CustomThemeSupplier::HasCustomImage(int id
) const {