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

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

Issue 26912005: mode code cleanup (100c / l, comments) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 2 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 | « experimental/PdfViewer/SkPdfUtils.h ('k') | experimental/PdfViewer/SkTracker.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 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 INHERITED::drawPosTextOnPath(draw, text, len, pos, paint, path, matrix); 143 INHERITED::drawPosTextOnPath(draw, text, len, pos, paint, path, matrix);
144 after(); 144 after();
145 } 145 }
146 #endif 146 #endif
147 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount, 147 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount,
148 const SkPoint verts[], const SkPoint texs[], 148 const SkPoint verts[], const SkPoint texs[],
149 const SkColor colors[], SkXfermode* xmode, 149 const SkColor colors[], SkXfermode* xmode,
150 const uint16_t indices[], int indexCount, 150 const uint16_t indices[], int indexCount,
151 const SkPaint& paint) { 151 const SkPaint& paint) {
152 before(); 152 before();
153 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices, indexCount, paint); 153 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
154 indexCount, paint);
154 after(); 155 after();
155 } 156 }
156 157
157 virtual void drawDevice(const SkDraw& dummy1, SkBaseDevice* dummy2, int x, i nt y, 158 virtual void drawDevice(const SkDraw& dummy1, SkBaseDevice* dummy2, int x, i nt y,
158 const SkPaint& dummy3) { 159 const SkPaint& dummy3) {
159 before(); 160 before();
160 INHERITED::drawDevice(dummy1, dummy2, x, y, dummy3); 161 INHERITED::drawDevice(dummy1, dummy2, x, y, dummy3);
161 after(); 162 after();
162 } 163 }
163 164
(...skipping 11 matching lines...) Expand all
175 } 176 }
176 } 177 }
177 178
178 private: 179 private:
179 SkTracker* fTracker; 180 SkTracker* fTracker;
180 181
181 typedef SkBitmapDevice INHERITED; 182 typedef SkBitmapDevice INHERITED;
182 }; 183 };
183 184
184 #endif // SkTrackDevice_DEFINED 185 #endif // SkTrackDevice_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfUtils.h ('k') | experimental/PdfViewer/SkTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698