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 GFX_CODEC_PNG_CODEC_H_ | 5 #ifndef UI_GFX_CODEC_PNG_CODEC_H_ |
6 #define GFX_CODEC_PNG_CODEC_H_ | 6 #define UI_GFX_CODEC_PNG_CODEC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 | 12 |
13 class SkBitmap; | 13 class SkBitmap; |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 | 16 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // SkBitmap. | 95 // SkBitmap. |
96 static SkBitmap* CreateSkBitmapFromBGRAFormat( | 96 static SkBitmap* CreateSkBitmapFromBGRAFormat( |
97 std::vector<unsigned char>& bgra, int width, int height); | 97 std::vector<unsigned char>& bgra, int width, int height); |
98 | 98 |
99 private: | 99 private: |
100 DISALLOW_COPY_AND_ASSIGN(PNGCodec); | 100 DISALLOW_COPY_AND_ASSIGN(PNGCodec); |
101 }; | 101 }; |
102 | 102 |
103 } // namespace gfx | 103 } // namespace gfx |
104 | 104 |
105 #endif // GFX_CODEC_PNG_CODEC_H_ | 105 #endif // UI_GFX_CODEC_PNG_CODEC_H_ |
OLD | NEW |