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

Side by Side Diff: samplecode/SamplePath.cpp

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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 | « samplecode/SampleOvalTest.cpp ('k') | samplecode/SamplePathClip.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 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 #include "SampleCode.h" 9 #include "SampleCode.h"
10 #include "SkView.h" 10 #include "SkView.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 canvas->restore(); 195 canvas->restore();
196 196
197 canvas->translate(0, SkIntToScalar(200)); 197 canvas->translate(0, SkIntToScalar(200));
198 } 198 }
199 199
200 this->nextStroke(); 200 this->nextStroke();
201 this->inval(NULL); 201 this->inval(NULL);
202 } 202 }
203 203
204 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned m odi) SK_OVERRIDE { 204 SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) SK_ OVERRIDE {
205 fShowHairline = !fShowHairline; 205 fShowHairline = !fShowHairline;
206 this->inval(NULL); 206 this->inval(NULL);
207 return this->INHERITED::onFindClickHandler(x, y, modi); 207 return this->INHERITED::onFindClickHandler(x, y, modi);
208 } 208 }
209 209
210 private: 210 private:
211 typedef SampleView INHERITED; 211 typedef SampleView INHERITED;
212 }; 212 };
213 DEF_SAMPLE( return new PathView; ) 213 DEF_SAMPLE( return new PathView; )
214 214
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 } 332 }
333 } 333 }
334 return this->INHERITED::onFindClickHandler(x, y, modi); 334 return this->INHERITED::onFindClickHandler(x, y, modi);
335 } 335 }
336 336
337 private: 337 private:
338 typedef SampleView INHERITED; 338 typedef SampleView INHERITED;
339 }; 339 };
340 DEF_SAMPLE( return new ArcToView; ) 340 DEF_SAMPLE( return new ArcToView; )
341 341
OLDNEW
« no previous file with comments | « samplecode/SampleOvalTest.cpp ('k') | samplecode/SamplePathClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698