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

Side by Side Diff: samplecode/SampleLayers.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/SampleEffects.cpp ('k') | samplecode/SampleRepeatTile.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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 unsigned modi) SK_OVERRIDE { 253 unsigned modi) SK_OVERRIDE {
254 this->inval(NULL); 254 this->inval(NULL);
255 255
256 return this->INHERITED::onFindClickHandler(x, y, modi); 256 return this->INHERITED::onFindClickHandler(x, y, modi);
257 } 257 }
258 258
259 virtual bool onClick(Click* click) { 259 virtual bool onClick(Click* click) {
260 return this->INHERITED::onClick(click); 260 return this->INHERITED::onClick(click);
261 } 261 }
262 262
263 virtual bool handleKey(SkKey key) { 263 virtual bool handleKey(SkKey) {
264 this->inval(NULL); 264 this->inval(NULL);
265 return true; 265 return true;
266 } 266 }
267 267
268 private: 268 private:
269 typedef SkView INHERITED; 269 typedef SkView INHERITED;
270 }; 270 };
271 271
272 ////////////////////////////////////////////////////////////////////////////// 272 //////////////////////////////////////////////////////////////////////////////
273 273
274 static SkView* MyFactory() { return new LayersView; } 274 static SkView* MyFactory() { return new LayersView; }
275 static SkViewRegister reg(MyFactory); 275 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleEffects.cpp ('k') | samplecode/SampleRepeatTile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698