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

Side by Side Diff: gm/cgms.cpp

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 | « gm/blurs.cpp ('k') | gm/circles.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 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
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 #include "gm.h" 8 #include "gm.h"
9 #include "sk_types.h" 9 #include "sk_types.h"
10 10
11 extern "C" void sk_test_c_api(sk_canvas_t*); 11 extern "C" void sk_test_c_api(sk_canvas_t*);
12 12
13 class C_GM : public skiagm::GM { 13 class C_GM : public skiagm::GM {
14 public: 14 public:
15 C_GM() {} 15 C_GM() {}
16 16
17 protected: 17 protected:
18 SkString onShortName() SK_OVERRIDE { 18 SkString onShortName() override {
19 return SkString("c_gms"); 19 return SkString("c_gms");
20 } 20 }
21 21
22 SkISize onISize() SK_OVERRIDE { 22 SkISize onISize() override {
23 return SkISize::Make(640, 480); 23 return SkISize::Make(640, 480);
24 } 24 }
25 25
26 void onDraw(SkCanvas* canvas) SK_OVERRIDE { 26 void onDraw(SkCanvas* canvas) override {
27 sk_test_c_api((sk_canvas_t*)canvas); 27 sk_test_c_api((sk_canvas_t*)canvas);
28 } 28 }
29 29
30 private: 30 private:
31 typedef GM INHERITED; 31 typedef GM INHERITED;
32 }; 32 };
33 33
34 DEF_GM( return new C_GM; ) 34 DEF_GM( return new C_GM; )
35 35
OLDNEW
« no previous file with comments | « gm/blurs.cpp ('k') | gm/circles.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698