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

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

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web 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/SkDrawClip.h ('k') | src/animator/SkDrawDash.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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkDrawColor_DEFINED 8 #ifndef SkDrawColor_DEFINED
9 #define SkDrawColor_DEFINED 9 #define SkDrawColor_DEFINED
10 10
11 #include "SkPaintPart.h" 11 #include "SkPaintPart.h"
12 #include "SkColor.h" 12 #include "SkColor.h"
13 13
14 class SkDrawColor : public SkPaintPart { 14 class SkDrawColor : public SkPaintPart {
15 DECLARE_DRAW_MEMBER_INFO(Color); 15 DECLARE_DRAW_MEMBER_INFO(Color);
16 SkDrawColor(); 16 SkDrawColor();
17 bool add() SK_OVERRIDE; 17 bool add() override;
18 void dirty() SK_OVERRIDE; 18 void dirty() override;
19 #ifdef SK_DUMP_ENABLED 19 #ifdef SK_DUMP_ENABLED
20 void dump(SkAnimateMaker* ) SK_OVERRIDE; 20 void dump(SkAnimateMaker* ) override;
21 #endif 21 #endif
22 SkColor getColor(); 22 SkColor getColor();
23 SkDisplayable* deepCopy(SkAnimateMaker* ) SK_OVERRIDE; 23 SkDisplayable* deepCopy(SkAnimateMaker* ) override;
24 SkDisplayable* getParent() const SK_OVERRIDE; 24 SkDisplayable* getParent() const override;
25 bool getProperty(int index, SkScriptValue* value) const SK_OVERRIDE; 25 bool getProperty(int index, SkScriptValue* value) const override;
26 void onEndElement(SkAnimateMaker& ) SK_OVERRIDE; 26 void onEndElement(SkAnimateMaker& ) override;
27 bool setParent(SkDisplayable* parent) SK_OVERRIDE; 27 bool setParent(SkDisplayable* parent) override;
28 bool setProperty(int index, SkScriptValue&) SK_OVERRIDE; 28 bool setProperty(int index, SkScriptValue&) override;
29 protected: 29 protected:
30 SkColor color; 30 SkColor color;
31 SkScalar fHue; 31 SkScalar fHue;
32 SkScalar fSaturation; 32 SkScalar fSaturation;
33 SkScalar fValue; 33 SkScalar fValue;
34 SkBool fDirty; 34 SkBool fDirty;
35 private: 35 private:
36 friend class SkDrawGradient; 36 friend class SkDrawGradient;
37 typedef SkPaintPart INHERITED; 37 typedef SkPaintPart INHERITED;
38 }; 38 };
39 39
40 #endif // SkDrawColor_DEFINED 40 #endif // SkDrawColor_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkDrawClip.h ('k') | src/animator/SkDrawDash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698