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

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCcittfaxdecodeFilterDictionary_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/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp
diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp
deleted file mode 100644
index 14a742f4731aad6fc48cafc3fe52e948d2560220..0000000000000000000000000000000000000000
--- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp
+++ /dev/null
@@ -1,105 +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 "SkPdfCcittfaxdecodeFilterDictionary_autogen.h"
-#include "SkPdfNativeDoc.h"
-
-int64_t SkPdfCcittfaxdecodeFilterDictionary::K(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("K", "");
- 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 SkPdfCcittfaxdecodeFilterDictionary::has_K() const {
- return get("K", "") != NULL;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::EndOfLine(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("EndOfLine", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->boolValue();
- // TODO(edisonn): warn about missing default value for optional fields
- return false;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::has_EndOfLine() const {
- return get("EndOfLine", "") != NULL;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::EncodedByteAlign(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("EncodedByteAlign", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->boolValue();
- // TODO(edisonn): warn about missing default value for optional fields
- return false;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::has_EncodedByteAlign() const {
- return get("EncodedByteAlign", "") != NULL;
-}
-
-int64_t SkPdfCcittfaxdecodeFilterDictionary::Columns(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Columns", "");
- 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 SkPdfCcittfaxdecodeFilterDictionary::has_Columns() const {
- return get("Columns", "") != NULL;
-}
-
-int64_t SkPdfCcittfaxdecodeFilterDictionary::Rows(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Rows", "");
- 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 SkPdfCcittfaxdecodeFilterDictionary::has_Rows() const {
- return get("Rows", "") != NULL;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::EndOfBlock(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("EndOfBlock", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->boolValue();
- // TODO(edisonn): warn about missing default value for optional fields
- return false;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::has_EndOfBlock() const {
- return get("EndOfBlock", "") != NULL;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::BlackIs1(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("BlackIs1", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isBoolean()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->boolValue();
- // TODO(edisonn): warn about missing default value for optional fields
- return false;
-}
-
-bool SkPdfCcittfaxdecodeFilterDictionary::has_BlackIs1() const {
- return get("BlackIs1", "") != NULL;
-}
-
-int64_t SkPdfCcittfaxdecodeFilterDictionary::DamagedRowsBeforeError(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("DamagedRowsBeforeError", "");
- 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 SkPdfCcittfaxdecodeFilterDictionary::has_DamagedRowsBeforeError() const {
- return get("DamagedRowsBeforeError", "") != NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698