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 #ifndef CHROME_BROWSER_BROWSER_THEME_PACK_H_ | 5 #ifndef CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
6 #define CHROME_BROWSER_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/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
15 #include "gfx/color_utils.h" | 15 #include "gfx/color_utils.h" |
16 #include "chrome/common/extensions/extension.h" | 16 #include "chrome/common/extensions/extension.h" |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // WriteToDisk()'s implementation doesn't need locks. There should be no IDs | 216 // WriteToDisk()'s implementation doesn't need locks. There should be no IDs |
217 // in |image_memory_| that are in |prepared_images_| or vice versa. | 217 // in |image_memory_| that are in |prepared_images_| or vice versa. |
218 ImageCache prepared_images_; | 218 ImageCache prepared_images_; |
219 | 219 |
220 // Loaded images. These are loaded from |image_memory_| or the |data_pack_|. | 220 // Loaded images. These are loaded from |image_memory_| or the |data_pack_|. |
221 mutable ImageCache loaded_images_; | 221 mutable ImageCache loaded_images_; |
222 | 222 |
223 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); | 223 DISALLOW_COPY_AND_ASSIGN(BrowserThemePack); |
224 }; | 224 }; |
225 | 225 |
226 #endif // CHROME_BROWSER_BROWSER_THEME_PACK_H_ | 226 #endif // CHROME_BROWSER_THEMES_BROWSER_THEME_PACK_H_ |
OLD | NEW |