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.
4 
5 #include "chrome/browser/themes/custom_theme_supplier.h"
6 
7 #include "base/memory/ref_counted_memory.h"
8 #include "ui/gfx/color_utils.h"
9 #include "ui/gfx/image/image.h"
10 
CustomThemeSupplier(ThemeType theme_type)11 CustomThemeSupplier::CustomThemeSupplier(ThemeType theme_type)
12     : theme_type_(theme_type) {}
13 
~CustomThemeSupplier()14 CustomThemeSupplier::~CustomThemeSupplier() {}
15 
StartUsingTheme()16 void CustomThemeSupplier::StartUsingTheme() {}
17 
StopUsingTheme()18 void CustomThemeSupplier::StopUsingTheme() {}
19 
GetTint(int id,color_utils::HSL * hsl) const20 bool CustomThemeSupplier::GetTint(int id, color_utils::HSL* hsl) const {
21   return false;
22 }
23 
GetColor(int id,SkColor * color) const24 bool CustomThemeSupplier::GetColor(int id, SkColor* color) const {
25   return false;
26 }
27 
GetDisplayProperty(int id,int * result) const28 bool CustomThemeSupplier::GetDisplayProperty(int id, int* result) const {
29   return false;
30 }
31 
GetImageNamed(int id) const32 gfx::Image CustomThemeSupplier::GetImageNamed(int id) const {
33   return gfx::Image();
34 }
35 
GetRawData(int idr_id,ui::ScaleFactor scale_factor) const36 base::RefCountedMemory* CustomThemeSupplier::GetRawData(
37     int idr_id,
38     ui::ScaleFactor scale_factor) const {
39   return NULL;
40 }
41 
HasCustomImage(int id) const42 bool CustomThemeSupplier::HasCustomImage(int id) const {
43   return false;
44 }
45 
CanUseIncognitoColors() const46 bool CustomThemeSupplier::CanUseIncognitoColors() const {
47   return true;
48 }
49