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

Side by Side Diff: src/animator/SkDrawShader.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 unified diff | Download patch
« no previous file with comments | « src/animator/SkDrawSaveLayer.h ('k') | src/animator/SkDrawText.h » ('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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #ifndef SkDrawShader_DEFINED 8 #ifndef SkDrawShader_DEFINED
9 #define SkDrawShader_DEFINED 9 #define SkDrawShader_DEFINED
10 10
11 #include "SkPaintPart.h" 11 #include "SkPaintPart.h"
12 #include "SkShader.h" 12 #include "SkShader.h"
13 13
14 class SkBaseBitmap; 14 class SkBaseBitmap;
15 15
16 class SkDrawBitmapShader : public SkDrawShader { 16 class SkDrawBitmapShader : public SkDrawShader {
17 DECLARE_DRAW_MEMBER_INFO(BitmapShader); 17 DECLARE_DRAW_MEMBER_INFO(BitmapShader);
18 SkDrawBitmapShader(); 18 SkDrawBitmapShader();
19 virtual bool add() SK_OVERRIDE; 19 bool add() SK_OVERRIDE;
20 virtual SkShader* getShader() SK_OVERRIDE; 20 SkShader* getShader() SK_OVERRIDE;
21 protected: 21 protected:
22 SkBool filterBitmap; 22 SkBool filterBitmap;
23 SkBaseBitmap* image; 23 SkBaseBitmap* image;
24 private: 24 private:
25 typedef SkDrawShader INHERITED; 25 typedef SkDrawShader INHERITED;
26 }; 26 };
27 27
28 #endif // SkDrawShader_DEFINED 28 #endif // SkDrawShader_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkDrawSaveLayer.h ('k') | src/animator/SkDrawText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698