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

Side by Side Diff: gm/bitmaprecttest.cpp

Issue 831113002: Cleanup: More override fixes - another round. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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/beziers.cpp ('k') | gm/bitmapscroll.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 2013 Google Inc. 2 * Copyright 2013 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 "SkCanvas.h" 9 #include "SkCanvas.h"
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 canvas->drawBitmap(bm, -310, 45, NULL); 49 canvas->drawBitmap(bm, -310, 45, NULL);
50 } 50 }
51 51
52 class BitmapRectTestGM : public skiagm::GM { 52 class BitmapRectTestGM : public skiagm::GM {
53 public: 53 public:
54 BitmapRectTestGM() { 54 BitmapRectTestGM() {
55 55
56 } 56 }
57 57
58 protected: 58 protected:
59 virtual SkString onShortName() { 59 virtual SkString onShortName() SK_OVERRIDE {
60 return SkString("bitmaprecttest"); 60 return SkString("bitmaprecttest");
61 } 61 }
62 62
63 virtual SkISize onISize() { 63 virtual SkISize onISize() SK_OVERRIDE {
64 return SkISize::Make(320, 240); 64 return SkISize::Make(320, 240);
65 } 65 }
66 66
67 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { 67 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
68 test_bitmaprect(canvas); 68 test_bitmaprect(canvas);
69 } 69 }
70 70
71 private: 71 private:
72 typedef skiagm::GM INHERITED; 72 typedef skiagm::GM INHERITED;
73 }; 73 };
74 74
75 ////////////////////////////////////////////////////////////////////////////// 75 //////////////////////////////////////////////////////////////////////////////
76 76
77 DEF_GM( return new BitmapRectTestGM; ) 77 DEF_GM( return new BitmapRectTestGM; )
OLDNEW
« no previous file with comments | « gm/beziers.cpp ('k') | gm/bitmapscroll.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698