| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_ICON_LOADER_H__ | 5 #ifndef CHROME_BROWSER_ICON_LOADER_H__ |
| 6 #define CHROME_BROWSER_ICON_LOADER_H__ | 6 #define CHROME_BROWSER_ICON_LOADER_H__ |
| 7 | 7 |
| 8 #include "base/logging.h" | |
| 9 #include <string> | 8 #include <string> |
| 10 #include <windows.h> | 9 #include <windows.h> |
| 11 | 10 |
| 11 #include "base/basictypes.h" |
| 12 |
| 12 namespace { | 13 namespace { |
| 13 class IconLoaderProcessor; | 14 class IconLoaderProcessor; |
| 14 } | 15 } |
| 15 | 16 |
| 16 class SkBitmap; | 17 class SkBitmap; |
| 17 | 18 |
| 18 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
| 19 // | 20 // |
| 20 // A facility to read a file containing an icon asynchronously in the IO | 21 // A facility to read a file containing an icon asynchronously in the IO |
| 21 // thread. Clients has the option to get the icon in the form of two HICON | 22 // thread. Clients has the option to get the icon in the form of two HICON |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // Not used if loading_from_resource_ is true. | 121 // Not used if loading_from_resource_ is true. |
| 121 IconType icon_type_; | 122 IconType icon_type_; |
| 122 | 123 |
| 123 // The underlying object performing the read. | 124 // The underlying object performing the read. |
| 124 IconLoaderProcessor* processor_; | 125 IconLoaderProcessor* processor_; |
| 125 | 126 |
| 126 DISALLOW_EVIL_CONSTRUCTORS(IconLoader); | 127 DISALLOW_EVIL_CONSTRUCTORS(IconLoader); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 #endif // CHROME_BROWSER_ICON_LOADER_H__ | 130 #endif // CHROME_BROWSER_ICON_LOADER_H__ |
| OLD | NEW |