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