Chromium Code Reviews| Index: chrome/browser/themes/custom_theme_supplier.cc |
| diff --git a/chrome/browser/themes/custom_theme_supplier.cc b/chrome/browser/themes/custom_theme_supplier.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d39c7fdbbf110a79fcd7a4eb0066a4e33e6d7ba4 |
| --- /dev/null |
| +++ b/chrome/browser/themes/custom_theme_supplier.cc |
| @@ -0,0 +1,44 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/themes/custom_theme_supplier.h" |
| + |
| +#include "base/memory/ref_counted_memory.h" |
| +#include "ui/gfx/color_utils.h" |
| +#include "ui/gfx/image/image.h" |
| + |
| +CustomThemeSupplier::CustomThemeSupplier(ThemeType theme_type) |
| + : theme_type_(theme_type) {} |
| + |
| +CustomThemeSupplier::~CustomThemeSupplier() {} |
| + |
| +void CustomThemeSupplier::StartUsingTheme() {} |
| + |
| +void CustomThemeSupplier::StopUsingTheme() {} |
| + |
| +bool CustomThemeSupplier::GetTint(int id, color_utils::HSL* hsl) const { |
| + return false; |
| +} |
| + |
| +bool CustomThemeSupplier::GetColor(int id, SkColor* color) const { |
| + return false; |
| +} |
| + |
| +bool CustomThemeSupplier::GetDisplayProperty(int id, int* result) const { |
| + return false; |
| +} |
| + |
| +gfx::Image CustomThemeSupplier::GetImageNamed(int id) { |
| + return gfx::Image(); |
| +} |
| + |
| +bool CustomThemeSupplier::HasCustomImage(int id) const { |
| + return false; |
| +} |
| + |
| +base::RefCountedMemory* CustomThemeSupplier::GetRawData( |
|
pkotwicz
2013/07/22 20:17:28
Nit: Move GetRawData() just below GetImageNamed()
Adrian Kuegel
2013/07/23 08:13:29
Done.
|
| + int idr_id, |
| + ui::ScaleFactor scale_factor) const { |
| + return NULL; |
| +} |