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

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfViewerPreferencesDictionary_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/SkPdfViewerPreferencesDictionary_autogen.cpp
diff --git a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfViewerPreferencesDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfViewerPreferencesDictionary_autogen.cpp
deleted file mode 100644
index 2537202e3b94cbed341aa5348122ac4b7e9826b7..0000000000000000000000000000000000000000
--- a/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfViewerPreferencesDictionary_autogen.cpp
+++ /dev/null
@@ -1,153 +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 "SkPdfViewerPreferencesDictionary_autogen.h"
-#include "SkPdfNativeDoc.h"
-
-bool SkPdfViewerPreferencesDictionary::HideToolbar(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("HideToolbar", "");
- 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 SkPdfViewerPreferencesDictionary::has_HideToolbar() const {
- return get("HideToolbar", "") != NULL;
-}
-
-bool SkPdfViewerPreferencesDictionary::HideMenubar(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("HideMenubar", "");
- 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 SkPdfViewerPreferencesDictionary::has_HideMenubar() const {
- return get("HideMenubar", "") != NULL;
-}
-
-bool SkPdfViewerPreferencesDictionary::HideWindowUI(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("HideWindowUI", "");
- 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 SkPdfViewerPreferencesDictionary::has_HideWindowUI() const {
- return get("HideWindowUI", "") != NULL;
-}
-
-bool SkPdfViewerPreferencesDictionary::FitWindow(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("FitWindow", "");
- 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 SkPdfViewerPreferencesDictionary::has_FitWindow() const {
- return get("FitWindow", "") != NULL;
-}
-
-bool SkPdfViewerPreferencesDictionary::CenterWindow(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("CenterWindow", "");
- 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 SkPdfViewerPreferencesDictionary::has_CenterWindow() const {
- return get("CenterWindow", "") != NULL;
-}
-
-bool SkPdfViewerPreferencesDictionary::DisplayDocTitle(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("DisplayDocTitle", "");
- 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 SkPdfViewerPreferencesDictionary::has_DisplayDocTitle() const {
- return get("DisplayDocTitle", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::NonFullScreenPageMode(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("NonFullScreenPageMode", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_NonFullScreenPageMode() const {
- return get("NonFullScreenPageMode", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::Direction(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("Direction", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_Direction() const {
- return get("Direction", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::ViewArea(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("ViewArea", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_ViewArea() const {
- return get("ViewArea", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::ViewClip(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("ViewClip", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_ViewClip() const {
- return get("ViewClip", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::PrintArea(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("PrintArea", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_PrintArea() const {
- return get("PrintArea", "") != NULL;
-}
-
-SkString SkPdfViewerPreferencesDictionary::PrintClip(SkPdfNativeDoc* doc) {
- SkPdfNativeObject* ret = get("PrintClip", "");
- if (doc) {ret = doc->resolveReference(ret);}
- if ((ret != NULL && ret->isName()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->nameValue2();
- // TODO(edisonn): warn about missing default value for optional fields
- return SkString();
-}
-
-bool SkPdfViewerPreferencesDictionary::has_PrintClip() const {
- return get("PrintClip", "") != NULL;
-}

Powered by Google App Engine
This is Rietveld 408576698