OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "ui/gfx/size.h" | 8 #include "ui/gfx/geometry/size.h" |
9 | 9 |
10 class SkBitmap; | 10 class SkBitmap; |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 // Provides an interface to WebKit's image decoders. | 14 // Provides an interface to WebKit's image decoders. |
15 // | 15 // |
16 // Note to future: This class should be deleted. We should have our own nice | 16 // Note to future: This class should be deleted. We should have our own nice |
17 // image decoders in base/gfx, and our port should use those. Currently, it's | 17 // image decoders in base/gfx, and our port should use those. Currently, it's |
18 // the other way around. | 18 // the other way around. |
(...skipping 16 matching lines...) Expand all Loading... |
35 const unsigned char* data, size_t size); | 35 const unsigned char* data, size_t size); |
36 | 36 |
37 private: | 37 private: |
38 // Size will be empty to get the largest possible size. | 38 // Size will be empty to get the largest possible size. |
39 gfx::Size desired_icon_size_; | 39 gfx::Size desired_icon_size_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(ImageDecoder); | 41 DISALLOW_COPY_AND_ASSIGN(ImageDecoder); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace content | 44 } // namespace content |
OLD | NEW |