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 GFX_ICON_UTIL_H_ | 5 #ifndef UI_GFX_ICON_UTIL_H_ |
6 #define GFX_ICON_UTIL_H_ | 6 #define UI_GFX_ICON_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class Size; | 15 class Size; |
16 } | 16 } |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // different size components. | 184 // different size components. |
185 static void ComputeBitmapSizeComponents(const SkBitmap& bitmap, | 185 static void ComputeBitmapSizeComponents(const SkBitmap& bitmap, |
186 size_t* xor_mask_size, | 186 size_t* xor_mask_size, |
187 size_t* bytes_in_resource); | 187 size_t* bytes_in_resource); |
188 | 188 |
189 // Prevent clients from instantiating objects of that class by declaring the | 189 // Prevent clients from instantiating objects of that class by declaring the |
190 // ctor/dtor as private. | 190 // ctor/dtor as private. |
191 DISALLOW_IMPLICIT_CONSTRUCTORS(IconUtil); | 191 DISALLOW_IMPLICIT_CONSTRUCTORS(IconUtil); |
192 }; | 192 }; |
193 | 193 |
194 #endif // GFX_ICON_UTIL_H_ | 194 #endif // UI_GFX_ICON_UTIL_H_ |
OLD | NEW |