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

Side by Side Diff: skia/animator/SkAnimatorScript2.h

Issue 113827: Remove the remainder of the skia source code from the Chromium repo.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « skia/animator/SkAnimatorScript.cpp ('k') | skia/animator/SkAnimatorScript2.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef SkAnimatorScript2_DEFINED
2 #define SkAnimatorScript2_DEFINED
3
4 #include "SkDisplayable.h"
5 #include "SkScript2.h"
6 #include "SkTypedArray.h"
7
8 class SkAnimateMaker;
9 struct SkMemberInfo;
10
11 #ifndef SkAnimatorScript_DEFINED
12 struct SkDisplayEnumMap {
13 SkDisplayTypes fType;
14 const char* fValues;
15 };
16 #endif
17
18 class SkAnimatorScript2 : public SkScriptEngine2 {
19 public:
20 SkAnimatorScript2(SkAnimateMaker& , SkDisplayable* working, SkDisplayTyp es type);
21 ~SkAnimatorScript2();
22 bool evalMemberCommon(const SkMemberInfo* info,
23 SkDisplayable* displayable, SkOperand2* value);
24 SkAnimateMaker& getMaker() { return fMaker; }
25 SkDisplayable* getWorking() { return fWorking; }
26 static bool MapEnums(const char* ptr, const char* match, size_t len, int * value);
27 static const SkDisplayEnumMap& GetEnumValues(SkDisplayTypes type);
28 static SkDisplayTypes ToDisplayType(SkOperand2::OpType type);
29 static SkOperand2::OpType ToOpType(SkDisplayTypes type);
30 private:
31 SkAnimateMaker& fMaker;
32 SkDisplayable* fWorking;
33 friend class SkDump;
34 friend struct SkScriptNAnswer;
35 // illegal
36 SkAnimatorScript2& operator=(const SkAnimatorScript2&);
37 #ifdef SK_DEBUG
38 public:
39 static void UnitTest();
40 #endif
41 };
42
43 #endif // SkAnimatorScript2_DEFINED
OLDNEW
« no previous file with comments | « skia/animator/SkAnimatorScript.cpp ('k') | skia/animator/SkAnimatorScript2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698