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

Unified Diff: experimental/PdfViewer/inc/SkPdfContext.h

Issue 1266093003: Remove experimental/PdfViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-03 (Monday) 10:43:56 EDT Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/PdfViewer/chop_transparency_main.cpp ('k') | experimental/PdfViewer/inc/SkPdfDiffEncoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/inc/SkPdfContext.h
diff --git a/experimental/PdfViewer/inc/SkPdfContext.h b/experimental/PdfViewer/inc/SkPdfContext.h
deleted file mode 100644
index cd6eba22097e0200d4758687e81ea6cae91f7dd0..0000000000000000000000000000000000000000
--- a/experimental/PdfViewer/inc/SkPdfContext.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkPdfContext_DEFINED
-#define SkPdfContext_DEFINED
-
-#include "SkMatrix.h"
-#include "SkPdfGraphicsState.h"
-#include "SkPdfNativeTokenizer.h"
-#include "SkTDStackNester.h"
-#include "SkTypes.h"
-
-class SkCanvas;
-class SkPdfNativeDoc;
-class SkPdfNativeObject;
-
-/**
- * The context of the drawing. The document we draw from, the current stack of
- * objects, ...
- */
-class SkPdfContext : SkNoncopyable {
-public:
- // FIXME (scroggo): Add functions for accessing these.
- SkTDStackNester<SkPdfNativeObject*> fObjectStack;
- SkTDStackNester<SkPdfGraphicsState> fStateStack;
- SkPdfGraphicsState fGraphicsState;
- SkPdfNativeDoc* fPdfDoc;
- SkMatrix fOriginalMatrix;
-
- // Does not take ownership of the doc.
- explicit SkPdfContext(SkPdfNativeDoc* doc);
-
- /**
- * Parse the stream and draw its commands to the canvas.
- * FIXME (scroggo): May not be the best place for this, but leaving here
- * for now, since it uses SkPdfContext's members.
- */
- void parseStream(SkPdfNativeObject* stream, SkCanvas* canvas);
-
-private:
- // FIXME (scroggo): Is this the right place for the allocator?
- SkPdfAllocator fTmpPageAllocator;
-};
-#endif // SkPdfContext_DEFINED
« no previous file with comments | « experimental/PdfViewer/chop_transparency_main.cpp ('k') | experimental/PdfViewer/inc/SkPdfDiffEncoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698