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 UI_GFX_ICON_UTIL_H_ | 5 #ifndef UI_GFX_ICON_UTIL_H_ |
6 #define UI_GFX_ICON_UTIL_H_ | 6 #define UI_GFX_ICON_UTIL_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
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/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "ui/gfx/geometry/point.h" |
15 #include "ui/gfx/gfx_export.h" | 16 #include "ui/gfx/gfx_export.h" |
16 #include "ui/gfx/point.h" | |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class FilePath; | 20 class FilePath; |
21 } | 21 } |
22 | 22 |
23 namespace gfx { | 23 namespace gfx { |
24 class ImageFamily; | 24 class ImageFamily; |
25 class Size; | 25 class Size; |
26 } | 26 } |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // A helper function of CreateSkBitmapFromHICON. | 264 // A helper function of CreateSkBitmapFromHICON. |
265 static SkBitmap CreateSkBitmapFromHICONHelper(HICON icon, | 265 static SkBitmap CreateSkBitmapFromHICONHelper(HICON icon, |
266 const gfx::Size& s); | 266 const gfx::Size& s); |
267 | 267 |
268 // Prevent clients from instantiating objects of that class by declaring the | 268 // Prevent clients from instantiating objects of that class by declaring the |
269 // ctor/dtor as private. | 269 // ctor/dtor as private. |
270 DISALLOW_IMPLICIT_CONSTRUCTORS(IconUtil); | 270 DISALLOW_IMPLICIT_CONSTRUCTORS(IconUtil); |
271 }; | 271 }; |
272 | 272 |
273 #endif // UI_GFX_ICON_UTIL_H_ | 273 #endif // UI_GFX_ICON_UTIL_H_ |
OLD | NEW |