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

Side by Side Diff: include/codec/SkCodec.h

Issue 1272293004: Move SkTemplates.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: It's a struct! Created 5 years, 4 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
« no previous file with comments | « gyp/tools.gyp ('k') | include/codec/SkScanlineDecoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkCodec_DEFINED 8 #ifndef SkCodec_DEFINED
9 #define SkCodec_DEFINED 9 #define SkCodec_DEFINED
10 10
11 #include "../private/SkTemplates.h"
11 #include "SkColor.h" 12 #include "SkColor.h"
12 #include "SkEncodedFormat.h" 13 #include "SkEncodedFormat.h"
13 #include "SkImageInfo.h" 14 #include "SkImageInfo.h"
14 #include "SkSize.h" 15 #include "SkSize.h"
15 #include "SkStream.h" 16 #include "SkStream.h"
16 #include "SkTemplates.h"
17 #include "SkTypes.h" 17 #include "SkTypes.h"
18 18
19 class SkData; 19 class SkData;
20 20
21 /** 21 /**
22 * Abstraction layer directly on top of an image codec. 22 * Abstraction layer directly on top of an image codec.
23 */ 23 */
24 class SkCodec : SkNoncopyable { 24 class SkCodec : SkNoncopyable {
25 public: 25 public:
26 /** 26 /**
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 SkStream* stream() { 274 SkStream* stream() {
275 return fStream.get(); 275 return fStream.get();
276 } 276 }
277 277
278 private: 278 private:
279 const SkImageInfo fInfo; 279 const SkImageInfo fInfo;
280 SkAutoTDelete<SkStream> fStream; 280 SkAutoTDelete<SkStream> fStream;
281 bool fNeedsRewind; 281 bool fNeedsRewind;
282 }; 282 };
283 #endif // SkCodec_DEFINED 283 #endif // SkCodec_DEFINED
OLDNEW
« no previous file with comments | « gyp/tools.gyp ('k') | include/codec/SkScanlineDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698