OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ | 5 #ifndef CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
6 #define CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ | 6 #define CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/sequenced_task_runner_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
15 #include "chrome/browser/themes/custom_theme_supplier.h" | 15 #include "chrome/browser/themes/custom_theme_supplier.h" |
16 #include "chrome/common/extensions/extension.h" | 16 #include "extensions/common/extension.h" |
17 #include "third_party/skia/include/core/SkColor.h" | 17 #include "third_party/skia/include/core/SkColor.h" |
18 #include "ui/base/layout.h" | 18 #include "ui/base/layout.h" |
19 #include "ui/gfx/color_utils.h" | 19 #include "ui/gfx/color_utils.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 class FilePath; | 23 class FilePath; |
24 class RefCountedMemory; | 24 class RefCountedMemory; |
25 } | 25 } |
26 | 26 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // Cache of images created in BuildFromExtension(). Once the theme pack is | 268 // Cache of images created in BuildFromExtension(). Once the theme pack is |
269 // created, this cache should only be accessed on the file thread. There | 269 // created, this cache should only be accessed on the file thread. There |
270 // should be no IDs in |image_memory_| that are in |images_on_file_thread_| | 270 // should be no IDs in |image_memory_| that are in |images_on_file_thread_| |
271 // or vice versa. | 271 // or vice versa. |
272 ImageCache images_on_file_thread_; | 272 ImageCache images_on_file_thread_; |
273 | 273 |
274 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); | 274 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); |
275 }; | 275 }; |
276 | 276 |
277 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ | 277 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
OLD | NEW |