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

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

Issue 1270633004: Update NulCanvas so everything builds. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 | « experimental/PdfViewer/SkNulCanvas.h ('k') | no next file » | 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 SkTrackDevice_DEFINED 8 #ifndef SkTrackDevice_DEFINED
9 #define SkTrackDevice_DEFINED 9 #define SkTrackDevice_DEFINED
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void drawSprite(const SkDraw& dummy1, const SkBitmap& bitmap, 99 void drawSprite(const SkDraw& dummy1, const SkBitmap& bitmap,
100 int x, int y, const SkPaint& paint) override { 100 int x, int y, const SkPaint& paint) override {
101 before(); 101 before();
102 INHERITED::drawSprite(dummy1, bitmap, x, y, paint); 102 INHERITED::drawSprite(dummy1, bitmap, x, y, paint);
103 after(); 103 after();
104 } 104 }
105 105
106 void drawBitmapRect(const SkDraw& dummy1, const SkBitmap& dummy2, 106 void drawBitmapRect(const SkDraw& dummy1, const SkBitmap& dummy2,
107 const SkRect* srcOrNull, const SkRect& dst, 107 const SkRect* srcOrNull, const SkRect& dst,
108 const SkPaint& paint, 108 const SkPaint& paint,
109 SK_VIRTUAL_CONSTRAINT_TYPE flags) override { 109 SkCanvas::SrcRectConstraint flags) override {
110 before(); 110 before();
111 INHERITED::drawBitmapRect(dummy1, dummy2, srcOrNull, dst, paint, flags); 111 INHERITED::drawBitmapRect(dummy1, dummy2, srcOrNull, dst, paint, flags);
112 after(); 112 after();
113 } 113 }
114 114
115 void drawText(const SkDraw& dummy1, const void* text, size_t len, 115 void drawText(const SkDraw& dummy1, const void* text, size_t len,
116 SkScalar x, SkScalar y, const SkPaint& paint) override { 116 SkScalar x, SkScalar y, const SkPaint& paint) override {
117 before(); 117 before();
118 INHERITED::drawText(dummy1, text, len, x, y, paint); 118 INHERITED::drawText(dummy1, text, len, x, y, paint);
119 after(); 119 after();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 167 }
168 } 168 }
169 169
170 private: 170 private:
171 SkTracker* fTracker; 171 SkTracker* fTracker;
172 172
173 typedef SkBitmapDevice INHERITED; 173 typedef SkBitmapDevice INHERITED;
174 }; 174 };
175 175
176 #endif // SkTrackDevice_DEFINED 176 #endif // SkTrackDevice_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkNulCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698