blob: 657f218341f5e91c0059c69b3e99d78a1c8852cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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();
}
base::RefCountedMemory* CustomThemeSupplier::GetRawData(
int idr_id,
ui::ScaleFactor scale_factor) const {
return NULL;
}
bool CustomThemeSupplier::HasCustomImage(int id) const {
return false;
}
|