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

Side by Side Diff: experimental/PdfViewer/SkNulCanvas.h

Issue 830083002: remove unused drawData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | gyp/skia_for_android_framework_defines.gypi » ('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 2013 Google Inc. 2 * Copyright 2013 Google Inc.
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 SkNulCanvas_DEFINED 8 #ifndef SkNulCanvas_DEFINED
9 #define SkNulCanvas_DEFINED 9 #define SkNulCanvas_DEFINED
10 10
(...skipping 30 matching lines...) Expand all
41 DrawBitmapRectFlags flags) SK_OVERRIDE {} 41 DrawBitmapRectFlags flags) SK_OVERRIDE {}
42 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 42 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
43 const SkRect& dst, const SkPaint* paint = NULL) SK_OVERRIDE {} 43 const SkRect& dst, const SkPaint* paint = NULL) SK_OVERRIDE {}
44 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, 44 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
45 const SkPaint* paint = NULL) SK_OVERRIDE {} 45 const SkPaint* paint = NULL) SK_OVERRIDE {}
46 virtual void drawVertices(VertexMode vmode, int vertexCount, 46 virtual void drawVertices(VertexMode vmode, int vertexCount,
47 const SkPoint vertices[], const SkPoint texs[], 47 const SkPoint vertices[], const SkPoint texs[],
48 const SkColor colors[], SkXfermode* xmode, 48 const SkColor colors[], SkXfermode* xmode,
49 const uint16_t indices[], int indexCount, 49 const uint16_t indices[], int indexCount,
50 const SkPaint& paint) SK_OVERRIDE {} 50 const SkPaint& paint) SK_OVERRIDE {}
51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE {}
52 virtual void beginCommentGroup(const char* description) SK_OVERRIDE {} 51 virtual void beginCommentGroup(const char* description) SK_OVERRIDE {}
53 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE {} 52 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE {}
54 virtual void endCommentGroup() SK_OVERRIDE {} 53 virtual void endCommentGroup() SK_OVERRIDE {}
55 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE {retur n NULL;} 54 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE {retur n NULL;}
56 55
57 virtual bool isClipEmpty() const SK_OVERRIDE { return false; } 56 virtual bool isClipEmpty() const SK_OVERRIDE { return false; }
58 virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE { 57 virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE {
59 if (NULL != bounds) { 58 if (NULL != bounds) {
60 bounds->setXYWH(0, 0, 59 bounds->setXYWH(0, 0,
61 SkIntToScalar(this->imageInfo().width()), 60 SkIntToScalar(this->imageInfo().width()),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE {} 95 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE {}
97 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {} 96 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE {}
98 97
99 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE {} 98 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE {}
100 99
101 private: 100 private:
102 typedef SkCanvas INHERITED; 101 typedef SkCanvas INHERITED;
103 }; 102 };
104 103
105 #endif // SkNulCanvas_DEFINED 104 #endif // SkNulCanvas_DEFINED
OLDNEW
« no previous file with comments | « no previous file | gyp/skia_for_android_framework_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698