OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/themes/browser_theme_pack.h" | 5 #include "chrome/browser/themes/browser_theme_pack.h" |
6 | 6 |
7 #include "base/stl_util-inl.h" | 7 #include "base/stl_util.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/threading/thread_restrictions.h" | 9 #include "base/threading/thread_restrictions.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/themes/theme_service.h" | 12 #include "chrome/browser/themes/theme_service.h" |
13 #include "content/browser/browser_thread.h" | 13 #include "content/browser/browser_thread.h" |
14 #include "grit/theme_resources.h" | 14 #include "grit/theme_resources.h" |
15 #include "grit/theme_resources_standard.h" | 15 #include "grit/theme_resources_standard.h" |
16 #include "grit/ui_resources.h" | 16 #include "grit/ui_resources.h" |
17 #include "net/base/file_stream.h" | 17 #include "net/base/file_stream.h" |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 hsl.h = tints_[i].h; | 1057 hsl.h = tints_[i].h; |
1058 hsl.s = tints_[i].s; | 1058 hsl.s = tints_[i].s; |
1059 hsl.l = tints_[i].l; | 1059 hsl.l = tints_[i].l; |
1060 return hsl; | 1060 return hsl; |
1061 } | 1061 } |
1062 } | 1062 } |
1063 } | 1063 } |
1064 | 1064 |
1065 return ThemeService::GetDefaultTint(id); | 1065 return ThemeService::GetDefaultTint(id); |
1066 } | 1066 } |
OLD | NEW |