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

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

Issue 27043002: pdfviewer: (more code cleanup): class documentation and comments 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/SkNulCanvas.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
11 #include "SkBitmapDevice.h" 11 #include "SkBitmapDevice.h"
12 #include "SkTracker.h" 12 #include "SkTracker.h"
13 13
14 /** \class SkTrackDevice
15 *
16 * A Track Device is used to track that callstack of an operation that affecte d some pixels.
17 * It can be used with SampleApp to investigate bugs (CL not checked in yet).
18 *
19 */
14 class SkTrackDevice : public SkBitmapDevice { 20 class SkTrackDevice : public SkBitmapDevice {
15 public: 21 public:
16 SK_DECLARE_INST_COUNT(SkTrackDevice) 22 SK_DECLARE_INST_COUNT(SkTrackDevice)
17 23
18 SkTrackDevice(const SkBitmap& bitmap) : SkBitmapDevice(bitmap) 24 SkTrackDevice(const SkBitmap& bitmap) : SkBitmapDevice(bitmap)
19 , fTracker(NULL) {} 25 , fTracker(NULL) {}
20 26
21 SkTrackDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProper ties) 27 SkTrackDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProper ties)
22 : SkBitmapDevice(bitmap, deviceProperties) 28 : SkBitmapDevice(bitmap, deviceProperties)
23 , fTracker(NULL) {} 29 , fTracker(NULL) {}
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 182 }
177 } 183 }
178 184
179 private: 185 private:
180 SkTracker* fTracker; 186 SkTracker* fTracker;
181 187
182 typedef SkBitmapDevice INHERITED; 188 typedef SkBitmapDevice INHERITED;
183 }; 189 };
184 190
185 #endif // SkTrackDevice_DEFINED 191 #endif // SkTrackDevice_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkNulCanvas.h ('k') | experimental/PdfViewer/SkTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698