OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/browser_theme_pack.h" | 5 #include "chrome/browser/themes/browser_theme_pack.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "base/data_pack.h" | 8 #include "base/data_pack.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util-inl.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/browser_theme_provider.h" | |
13 #include "chrome/browser/chrome_thread.h" | 12 #include "chrome/browser/chrome_thread.h" |
| 13 #include "chrome/browser/themes/browser_theme_provider.h" |
14 #include "gfx/codec/png_codec.h" | 14 #include "gfx/codec/png_codec.h" |
15 #include "gfx/skbitmap_operations.h" | 15 #include "gfx/skbitmap_operations.h" |
16 #include "grit/app_resources.h" | 16 #include "grit/app_resources.h" |
17 #include "grit/theme_resources.h" | 17 #include "grit/theme_resources.h" |
18 #include "net/base/file_stream.h" | 18 #include "net/base/file_stream.h" |
19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
20 #include "third_party/skia/include/core/SkCanvas.h" | 20 #include "third_party/skia/include/core/SkCanvas.h" |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 hsl.h = tints_[i].h; | 1034 hsl.h = tints_[i].h; |
1035 hsl.s = tints_[i].s; | 1035 hsl.s = tints_[i].s; |
1036 hsl.l = tints_[i].l; | 1036 hsl.l = tints_[i].l; |
1037 return hsl; | 1037 return hsl; |
1038 } | 1038 } |
1039 } | 1039 } |
1040 } | 1040 } |
1041 | 1041 |
1042 return BrowserThemeProvider::GetDefaultTint(id); | 1042 return BrowserThemeProvider::GetDefaultTint(id); |
1043 } | 1043 } |
OLD | NEW |