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

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FunctionDictionary_autogen.cpp

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
Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FunctionDictionary_autogen.cpp
diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FunctionDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FunctionDictionary_autogen.cpp
deleted file mode 100644
index ea4888b80762020661a0beb7cba67776696df2c3..0000000000000000000000000000000000000000
--- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType0FunctionDictionary_autogen.cpp
+++ /dev/null
@@ -1,69 +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.
- */
-
-#include "SkPdfType0FunctionDictionary_autogen.h"
-#include "SkPdfNativeDoc.h"
-
-SkPdfArray* SkPdfType0FunctionDictionary::Size(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Size", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret;
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return NULL;
-}
-
-bool SkPdfType0FunctionDictionary::has_Size() const {
- return get("Size", "") != NULL;
-}
-
-int64_t SkPdfType0FunctionDictionary::BitsPerSample(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("BitsPerSample", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue();
- // TODO(edisonn): warn about missing required field, assert for known good pdfs
- return 0;
-}
-
-bool SkPdfType0FunctionDictionary::has_BitsPerSample() const {
- return get("BitsPerSample", "") != NULL;
-}
-
-int64_t SkPdfType0FunctionDictionary::Order(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Order", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue();
- // TODO(edisonn): warn about missing default value for optional fields
- return 0;
-}
-
-bool SkPdfType0FunctionDictionary::has_Order() const {
- return get("Order", "") != NULL;
-}
-
-SkPdfArray* SkPdfType0FunctionDictionary::Encode(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Encode", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret;
- // TODO(edisonn): warn about missing default value for optional fields
- return NULL;
-}
-
-bool SkPdfType0FunctionDictionary::has_Encode() const {
- return get("Encode", "") != NULL;
-}
-
-SkPdfArray* SkPdfType0FunctionDictionary::Decode(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Decode", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret;
- // TODO(edisonn): warn about missing default value for optional fields
- return NULL;
-}
-
-bool SkPdfType0FunctionDictionary::has_Decode() const {
- return get("Decode", "") != NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698