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