OLD | NEW |
(Empty) | |
| 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_provider.h" |
| 6 |
| 7 #include "base/memory/ref_counted_memory.h" |
| 8 #include "ui/gfx/color_utils.h" |
| 9 |
| 10 CustomThemeProvider::CustomThemeProvider(ThemeType theme_type) |
| 11 : theme_type_(theme_type) {} |
| 12 |
| 13 CustomThemeProvider::~CustomThemeProvider() {} |
| 14 |
| 15 void CustomThemeProvider::StartUsingTheme() {} |
| 16 |
| 17 void CustomThemeProvider::StopUsingTheme() {} |
| 18 |
| 19 bool CustomThemeProvider::GetTint(int id, color_utils::HSL* hsl) const { |
| 20 return false; |
| 21 } |
| 22 |
| 23 bool CustomThemeProvider::GetColor(int id, SkColor* color) const { |
| 24 return false; |
| 25 } |
| 26 |
| 27 bool CustomThemeProvider::GetDisplayProperty(int id, int* result) const { |
| 28 return false; |
| 29 } |
| 30 |
| 31 gfx::Image CustomThemeProvider::GetImageNamed(int id) { |
| 32 return gfx::Image(); |
| 33 } |
| 34 |
| 35 bool CustomThemeProvider::HasCustomImage(int id) const { |
| 36 return false; |
| 37 } |
| 38 |
| 39 base::RefCountedMemory* CustomThemeProvider::GetRawData( |
| 40 int idr_id, |
| 41 ui::ScaleFactor scale_factor) const { |
| 42 return NULL; |
| 43 } |
OLD | NEW |