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

Side by Side Diff: samplecode/SampleRepeatTile.cpp

Issue 12772003: Removed unused parameters (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « samplecode/SampleLayers.cpp ('k') | src/animator/SkAnimator.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 #include "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkView.h" 9 #include "SkView.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned m odi) SK_OVERRIDE { 70 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned m odi) SK_OVERRIDE {
71 this->inval(NULL); 71 this->inval(NULL);
72 72
73 return this->INHERITED::onFindClickHandler(x, y, modi); 73 return this->INHERITED::onFindClickHandler(x, y, modi);
74 } 74 }
75 75
76 virtual bool onClick(Click* click) { 76 virtual bool onClick(Click* click) {
77 return this->INHERITED::onClick(click); 77 return this->INHERITED::onClick(click);
78 } 78 }
79 79
80 virtual bool handleKey(SkKey key) { 80 virtual bool handleKey(SkKey) {
81 this->inval(NULL); 81 this->inval(NULL);
82 return true; 82 return true;
83 } 83 }
84 84
85 private: 85 private:
86 typedef SampleView INHERITED; 86 typedef SampleView INHERITED;
87 }; 87 };
88 88
89 ////////////////////////////////////////////////////////////////////////////// 89 //////////////////////////////////////////////////////////////////////////////
90 90
91 static SkView* MyFactory() { return new RepeatTileView; } 91 static SkView* MyFactory() { return new RepeatTileView; }
92 static SkViewRegister reg(MyFactory); 92 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleLayers.cpp ('k') | src/animator/SkAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698