| 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 #ifndef CONTENT_CHILD_IMAGE_DECODER_H_ |
| 6 #define CONTENT_CHILD_IMAGE_DECODER_H_ |
| 7 |
| 5 #include <stddef.h> | 8 #include <stddef.h> |
| 6 | 9 |
| 7 #include <vector> | 10 #include <vector> |
| 8 | 11 |
| 9 #include "base/macros.h" | 12 #include "base/macros.h" |
| 10 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 11 | 14 |
| 12 class SkBitmap; | 15 class SkBitmap; |
| 13 | 16 |
| 14 namespace content { | 17 namespace content { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 37 const unsigned char* data, size_t size); | 40 const unsigned char* data, size_t size); |
| 38 | 41 |
| 39 private: | 42 private: |
| 40 // Size will be empty to get the largest possible size. | 43 // Size will be empty to get the largest possible size. |
| 41 gfx::Size desired_icon_size_; | 44 gfx::Size desired_icon_size_; |
| 42 | 45 |
| 43 DISALLOW_COPY_AND_ASSIGN(ImageDecoder); | 46 DISALLOW_COPY_AND_ASSIGN(ImageDecoder); |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 } // namespace content | 49 } // namespace content |
| 50 |
| 51 #endif // CONTENT_CHILD_IMAGE_DECODER_H_ |
| OLD | NEW |