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/SkTracker.h

Issue 23361009: pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to matc… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « experimental/PdfViewer/SkTrackDevice.cpp ('k') | experimental/PdfViewer/SkTracker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef EXPERIMENTAL_PDFVIEWER_SKTRACKER_H_ 1 /*
2 #define EXPERIMENTAL_PDFVIEWER_SKTRACKER_H_ 2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkTracker_DEFINED
9 #define SkTracker_DEFINED
3 10
4 #include "SkBitmap.h" 11 #include "SkBitmap.h"
5 #include "SkPoint.h" 12 #include "SkPoint.h"
6 13
7 #define MAX_TRACKING_POINTS 100 14 #define MAX_TRACKING_POINTS 100
8 15
9 class SkTracker { 16 class SkTracker {
10 public: 17 public:
11 SkTracker() : fEnabled(false) 18 SkTracker() : fEnabled(false)
12 , fBreakOnAny(false) 19 , fBreakOnAny(false)
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 SkColor fBeforeTouched[MAX_TRACKING_POINTS]; 171 SkColor fBeforeTouched[MAX_TRACKING_POINTS];
165 int fCntExpectedTouched; 172 int fCntExpectedTouched;
166 173
167 SkIPoint fExpectedUntouched[MAX_TRACKING_POINTS]; 174 SkIPoint fExpectedUntouched[MAX_TRACKING_POINTS];
168 SkColor fBeforeUntouched[MAX_TRACKING_POINTS]; 175 SkColor fBeforeUntouched[MAX_TRACKING_POINTS];
169 int fCntExpectedUntouched; 176 int fCntExpectedUntouched;
170 177
171 int fHits; 178 int fHits;
172 }; 179 };
173 180
174 #endif // EXPERIMENTAL_PDFVIEWER_SKTRACKER_H_ 181 #endif // SkTracker_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkTrackDevice.cpp ('k') | experimental/PdfViewer/SkTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698