OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/gfx/codec/png_codec.h" | 5 #include "ui/gfx/codec/png_codec.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
9 #include "third_party/libpng/png.h" | 12 #include "third_party/libpng/png.h" |
10 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
11 #include "third_party/skia/include/core/SkColorPriv.h" | 14 #include "third_party/skia/include/core/SkColorPriv.h" |
12 #include "third_party/skia/include/core/SkUnPreMultiply.h" | 15 #include "third_party/skia/include/core/SkUnPreMultiply.h" |
13 #include "third_party/zlib/zlib.h" | 16 #include "third_party/zlib/zlib.h" |
14 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
15 #include "ui/gfx/skia_util.h" | 18 #include "ui/gfx/skia_util.h" |
16 | 19 |
17 namespace gfx { | 20 namespace gfx { |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 } | 804 } |
802 | 805 |
803 PNGCodec::Comment::Comment(const std::string& k, const std::string& t) | 806 PNGCodec::Comment::Comment(const std::string& k, const std::string& t) |
804 : key(k), text(t) { | 807 : key(k), text(t) { |
805 } | 808 } |
806 | 809 |
807 PNGCodec::Comment::~Comment() { | 810 PNGCodec::Comment::~Comment() { |
808 } | 811 } |
809 | 812 |
810 } // namespace gfx | 813 } // namespace gfx |
OLD | NEW |