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

Side by Side Diff: experimental/PdfViewer/inc/SkPdfTokenLooper.h

Issue 80463005: Separate and update PDF_DIFF_TRACE_IN_PNG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years 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
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 SkPdfTokenLooper_DEFINED 8 #ifndef SkPdfTokenLooper_DEFINED
9 #define SkPdfTokenLooper_DEFINED 9 #define SkPdfTokenLooper_DEFINED
10 10
(...skipping 24 matching lines...) Expand all
35 virtual void loop() = 0; 35 virtual void loop() = 0;
36 36
37 void setUp(SkPdfTokenLooper* parent) { 37 void setUp(SkPdfTokenLooper* parent) {
38 fParent = parent; 38 fParent = parent;
39 fTokenizer = parent->fTokenizer; 39 fTokenizer = parent->fTokenizer;
40 fPdfContext = parent->fPdfContext; 40 fPdfContext = parent->fPdfContext;
41 fCanvas = parent->fCanvas; 41 fCanvas = parent->fCanvas;
42 } 42 }
43 }; 43 };
44 44
45 // Calls SkPdfNativeTokenizer::readToken, and also does debugging help.
46 // TODO(edisonn): Pass SkPdfContext and SkCanvas only with the define for instru mentation.
47 // FIXME (scroggo): This calls tokenizer->readToken(). The rest of its functiona lity should
48 // be moved to a debugging file.
49 bool readToken(SkPdfNativeTokenizer*, PdfToken*);
50
51 #endif // SkPdfTokenLooper_DEFINED 45 #endif // SkPdfTokenLooper_DEFINED
OLDNEW
« no previous file with comments | « experimental/PdfViewer/inc/SkPdfDiffEncoder.h ('k') | experimental/PdfViewer/pdf_viewer_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698