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

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

Issue 1110013002: Update more directories under src/ to follow C++11 style rule for {virtual,override}. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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/SkDraw3D.h ('k') | src/doc/SkDocument_PDF.cpp » ('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 /* 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 SkDrawPaint_DEFINED 10 #ifndef SkDrawPaint_DEFINED
(...skipping 14 matching lines...) Expand all
25 class SkDrawPaint : public SkADrawable { 25 class SkDrawPaint : public SkADrawable {
26 DECLARE_DRAW_MEMBER_INFO(Paint); 26 DECLARE_DRAW_MEMBER_INFO(Paint);
27 SkDrawPaint(); 27 SkDrawPaint();
28 virtual ~SkDrawPaint(); 28 virtual ~SkDrawPaint();
29 virtual bool add(SkAnimateMaker* , SkDisplayable* child); 29 virtual bool add(SkAnimateMaker* , SkDisplayable* child);
30 SkDisplayable* deepCopy(SkAnimateMaker* ) override; 30 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
31 bool draw(SkAnimateMaker& ) override; 31 bool draw(SkAnimateMaker& ) override;
32 #ifdef SK_DUMP_ENABLED 32 #ifdef SK_DUMP_ENABLED
33 void dump(SkAnimateMaker* ) override; 33 void dump(SkAnimateMaker* ) override;
34 #endif 34 #endif
35 virtual void executeFunction(SkDisplayable* target, int index, 35 void executeFunction(SkDisplayable* target, int index,
36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, 36 SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type,
37 SkScriptValue* ) override; 37 SkScriptValue* ) override;
38 const SkFunctionParamType* getFunctionsParameters() override; 38 const SkFunctionParamType* getFunctionsParameters() override;
39 bool getProperty(int index, SkScriptValue* value) const override; 39 bool getProperty(int index, SkScriptValue* value) const override;
40 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* app ly) override; 40 bool resolveIDs(SkAnimateMaker& maker, SkDisplayable* original, SkApply* app ly) override;
41 protected: 41 protected:
42 static const SkFunctionParamType fFunctionParameters[]; 42 static const SkFunctionParamType fFunctionParameters[];
43 void setupPaint(SkPaint* paint) const; 43 void setupPaint(SkPaint* paint) const;
44 public: 44 public:
45 SkBool antiAlias; 45 SkBool antiAlias;
(...skipping 24 matching lines...) Expand all
70 SkBool8 fOwnsShader; 70 SkBool8 fOwnsShader;
71 SkBool8 fOwnsTransferMode; 71 SkBool8 fOwnsTransferMode;
72 SkBool8 fOwnsTypeface; 72 SkBool8 fOwnsTypeface;
73 private: 73 private:
74 typedef SkADrawable INHERITED; 74 typedef SkADrawable INHERITED;
75 friend class SkTextToPath; 75 friend class SkTextToPath;
76 friend class SkSaveLayer; 76 friend class SkSaveLayer;
77 }; 77 };
78 78
79 #endif // SkDrawPaint_DEFINED 79 #endif // SkDrawPaint_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkDraw3D.h ('k') | src/doc/SkDocument_PDF.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698