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

Unified Diff: samplecode/SampleApp.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samplecode/SampleAll.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index 3980669e312ca59cfd54fdb7cda21b718a10c165..3e8afc0174a2fa8eb79b514081abd6403a573f63 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -101,7 +101,7 @@ public:
SampleWindow(void* hwnd, int argc, char** argv, DeviceManager*);
virtual ~SampleWindow();
- virtual SkSurface* createSurface() SK_OVERRIDE {
+ SkSurface* createSurface() SK_OVERRIDE {
SkSurface* surface = NULL;
if (fDevManager) {
surface = fDevManager->createSurface(fDeviceType, this);
@@ -112,7 +112,7 @@ public:
return surface;
}
- virtual void draw(SkCanvas*) SK_OVERRIDE;
+ void draw(SkCanvas*) SK_OVERRIDE;
void setDeviceType(DeviceType type);
void toggleRendering();
@@ -138,22 +138,22 @@ public:
DeviceType getDeviceType() const { return fDeviceType; }
protected:
- virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE;
- virtual bool onHandleKey(SkKey key) SK_OVERRIDE;
- virtual bool onHandleChar(SkUnichar) SK_OVERRIDE;
- virtual void onSizeChange() SK_OVERRIDE;
+ void onDraw(SkCanvas* canvas) SK_OVERRIDE;
+ bool onHandleKey(SkKey key) SK_OVERRIDE;
+ bool onHandleChar(SkUnichar) SK_OVERRIDE;
+ void onSizeChange() SK_OVERRIDE;
- virtual SkCanvas* beforeChildren(SkCanvas*) SK_OVERRIDE;
- virtual void afterChildren(SkCanvas*) SK_OVERRIDE;
- virtual void beforeChild(SkView* child, SkCanvas* canvas) SK_OVERRIDE;
- virtual void afterChild(SkView* child, SkCanvas* canvas) SK_OVERRIDE;
+ SkCanvas* beforeChildren(SkCanvas*) SK_OVERRIDE;
+ void afterChildren(SkCanvas*) SK_OVERRIDE;
+ void beforeChild(SkView* child, SkCanvas* canvas) SK_OVERRIDE;
+ void afterChild(SkView* child, SkCanvas* canvas) SK_OVERRIDE;
- virtual bool onEvent(const SkEvent& evt) SK_OVERRIDE;
- virtual bool onQuery(SkEvent* evt) SK_OVERRIDE;
+ bool onEvent(const SkEvent& evt) SK_OVERRIDE;
+ bool onQuery(SkEvent* evt) SK_OVERRIDE;
virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
unsigned modi) SK_OVERRIDE;
- virtual bool onClick(Click* click) SK_OVERRIDE;
+ bool onClick(Click* click) SK_OVERRIDE;
virtual Click* onFindClickHandler(SkScalar x, SkScalar y,
unsigned modi) SK_OVERRIDE;
« no previous file with comments | « samplecode/SampleAll.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698