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

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: Created 7 years, 1 month 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
(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 class SkPdfDiffEncoder {
14 public:
15 // If PDF_TRACE_DIFF_IN_PNG is defined, the difference created by
16 // using this token is written to a file named
17 // "/tmp/log_step_by_step/step-%i-%s.png". Otherwise this function does
18 // nothing.
19 // TODO(scroggo): Pass SkPdfContext and SkCanvas for info.
20 static void WriteToFile(PdfToken*);
mtklein 2013/11/22 14:46:12 Do you anticipate this class will become more than
scroggo 2013/11/22 15:47:16 reed@ encouraged me to use a class in another inst
21 };
22
23 #endif // SkPdfDiffEncoder_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698