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/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/task/sequenced_task_runner_helpers.h" | 15 #include "base/sequenced_task_runner_helpers.h" |
16 #include "chrome/common/extensions/extension.h" | 16 #include "chrome/common/extensions/extension.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
19 #include "ui/base/layout.h" | 19 #include "ui/base/layout.h" |
20 #include "ui/gfx/color_utils.h" | 20 #include "ui/gfx/color_utils.h" |
21 #include "ui/gfx/image/image.h" | 21 #include "ui/gfx/image/image.h" |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class DictionaryValue; | 24 class DictionaryValue; |
25 class FilePath; | 25 class FilePath; |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 // Cache of images created in BuildFromExtension(). Once the theme pack is | 263 // Cache of images created in BuildFromExtension(). Once the theme pack is |
264 // created, this cache should only be accessed on the file thread. There | 264 // created, this cache should only be accessed on the file thread. There |
265 // should be no IDs in |image_memory_| that are in |images_on_file_thread_| | 265 // should be no IDs in |image_memory_| that are in |images_on_file_thread_| |
266 // or vice versa. | 266 // or vice versa. |
267 ImageCache images_on_file_thread_; | 267 ImageCache images_on_file_thread_; |
268 | 268 |
269 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); | 269 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); |
270 }; | 270 }; |
271 | 271 |
272 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ | 272 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
OLD | NEW |