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

Side by Side Diff: src/animator/SkSnapshot.h

Issue 1818563002: Replace uses of SkImageDecoder in src/animator (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « src/animator/SkDrawBitmap.cpp ('k') | no next file » | 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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkSnapShot_DEFINED 10 #ifndef SkSnapShot_DEFINED
11 #define SkSnapShot_DEFINED 11 #define SkSnapShot_DEFINED
12 12
13 #include "SkADrawable.h" 13 #include "SkADrawable.h"
14 #include "SkImageDecoder.h"
15 #include "SkMemberInfo.h" 14 #include "SkMemberInfo.h"
16 #include "SkString.h" 15 #include "SkString.h"
17 16
18 class SkSnapshot: public SkADrawable { 17 class SkSnapshot: public SkADrawable {
19 DECLARE_MEMBER_INFO(Snapshot); 18 DECLARE_MEMBER_INFO(Snapshot);
20 SkSnapshot(); 19 SkSnapshot();
21 bool draw(SkAnimateMaker& ) override; 20 bool draw(SkAnimateMaker& ) override;
22 private: 21 private:
23 SkString filename; 22 SkString filename;
24 SkScalar quality; 23 SkScalar quality;
25 SkBool sequence; 24 SkBool sequence;
26 int /*SkImageEncoder::Type*/ type; 25 int /*SkImageEncoder::Type*/ type;
27 int fSeqVal; 26 int fSeqVal;
28 }; 27 };
29 28
30 #endif // SkSnapShot_DEFINED 29 #endif // SkSnapShot_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkDrawBitmap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698