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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
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/message_loop_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 "ui/gfx/color_utils.h" | 18 #include "ui/gfx/color_utils.h" |
19 | 19 |
20 class FilePath; | 20 class FilePath; |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class DictionaryValue; | 23 class DictionaryValue; |
24 class RefCountedMemory; | 24 class RefCountedMemory; |
25 } | 25 } |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // in |image_memory_| that are in |prepared_images_| or vice versa. | 243 // in |image_memory_| that are in |prepared_images_| or vice versa. |
244 ImageCache prepared_images_; | 244 ImageCache prepared_images_; |
245 | 245 |
246 // Loaded images. These are loaded from |image_memory_| or the |data_pack_|. | 246 // Loaded images. These are loaded from |image_memory_| or the |data_pack_|. |
247 mutable ImageCache loaded_images_; | 247 mutable ImageCache loaded_images_; |
248 | 248 |
249 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); | 249 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); |
250 }; | 250 }; |
251 | 251 |
252 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ | 252 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
OLD | NEW |