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

Side by Side Diff: experimental/PdfViewer/inc/SkPdfDiffEncoder.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
« no previous file with comments | « no previous file | experimental/PdfViewer/inc/SkPdfTokenLooper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
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 SkPdfDiffEncoder_DEFINED
9 #define SkPdfDiffEncoder_DEFINED
10
11 struct PdfToken;
12
13 namespace SkPdfDiffEncoder {
14 /**
15 * If PDF_TRACE_DIFF_IN_PNG is defined, the PDF commands so far are written
16 * to a file with the difference created by using this token highlighted.
17 * The file is named "/tmp/log_step_by_step/step-%i-%s.png", where %i is
18 * the number of the command and %s is the name of the command. If
19 * PDF_TRACE_DIFF_IN_PNG is not defined this function does nothing.
20 * TODO(scroggo): Pass SkPdfContext and SkCanvas for info.
21 */
22 void WriteToFile(PdfToken*);
23 };
24
25 #endif // SkPdfDiffEncoder_DEFINED
OLDNEW
« no previous file with comments | « no previous file | experimental/PdfViewer/inc/SkPdfTokenLooper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698