Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: components/webp_transcode/webp_decoder.h

Issue 1092033006: [Mac/Cleanup] Trim down Foundation.h and ApplicationServices.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include -> import Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_ 5 #ifndef COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_
6 #define COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_ 6 #define COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_
7 7
8 #import <Foundation/Foundation.h>
9
8 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "third_party/libwebp/webp/decode.h" 13 #include "third_party/libwebp/webp/decode.h"
12 14
13 @class NSData; 15 @class NSData;
14 16
15 namespace webp_transcode { 17 namespace webp_transcode {
16 18
17 // Decodes a WebP image into either JPEG, PNG or uncompressed TIFF. 19 // Decodes a WebP image into either JPEG, PNG or uncompressed TIFF.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 WebpDecoder::State state_; 67 WebpDecoder::State state_;
66 scoped_ptr<WebPIDecoder, WebPIDecoderDeleter> incremental_decoder_; 68 scoped_ptr<WebPIDecoder, WebPIDecoderDeleter> incremental_decoder_;
67 base::scoped_nsobject<NSData> output_buffer_; 69 base::scoped_nsobject<NSData> output_buffer_;
68 base::scoped_nsobject<NSMutableData> features_; 70 base::scoped_nsobject<NSMutableData> features_;
69 int has_alpha_; 71 int has_alpha_;
70 }; 72 };
71 73
72 } // namespace webp_transcode 74 } // namespace webp_transcode
73 75
74 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_ 76 #endif // COMPONENTS_WEBP_TRANSCODE_WEBP_DECODER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698