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

Side by Side Diff: src/animator/SkXMLAnimatorWriter.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, 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/SkTextToPath.h ('k') | src/codec/SkCodec_libbmp.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 /* 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 SkXMLAnimatorWriter_DEFINED 10 #ifndef SkXMLAnimatorWriter_DEFINED
11 #define SkXMLAnimatorWriter_DEFINED 11 #define SkXMLAnimatorWriter_DEFINED
12 12
13 #include "SkXMLWriter.h" 13 #include "SkXMLWriter.h"
14 14
15 class SkAnimator; 15 class SkAnimator;
16 class SkDisplayXMLParser; 16 class SkDisplayXMLParser;
17 17
18 class SkXMLAnimatorWriter : public SkXMLWriter { 18 class SkXMLAnimatorWriter : public SkXMLWriter {
19 public: 19 public:
20 SkXMLAnimatorWriter(SkAnimator*); 20 SkXMLAnimatorWriter(SkAnimator*);
21 virtual ~SkXMLAnimatorWriter(); 21 virtual ~SkXMLAnimatorWriter();
22 virtual void writeHeader(); 22 virtual void writeHeader();
23 SkDEBUGCODE(static void UnitTest(class SkCanvas* canvas);) 23 SkDEBUGCODE(static void UnitTest(class SkCanvas* canvas);)
24 24
25 protected: 25 protected:
26 void onAddAttributeLen(const char name[], const char value[], size_t length) SK_OVERRIDE; 26 void onAddAttributeLen(const char name[], const char value[], size_t length) override;
27 void onEndElement() SK_OVERRIDE; 27 void onEndElement() override;
28 void onStartElementLen(const char elem[], size_t length) SK_OVERRIDE; 28 void onStartElementLen(const char elem[], size_t length) override;
29 void onAddText(const char text[], size_t length) SK_OVERRIDE; 29 void onAddText(const char text[], size_t length) override;
30 30
31 private: 31 private:
32 SkAnimator* fAnimator; 32 SkAnimator* fAnimator;
33 SkDisplayXMLParser* fParser; 33 SkDisplayXMLParser* fParser;
34 }; 34 };
35 35
36 #endif // SkXMLAnimatorWriter_DEFINED 36 #endif // SkXMLAnimatorWriter_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkTextToPath.h ('k') | src/codec/SkCodec_libbmp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698