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

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfViewerPreferencesDictionary_autogen.cpp

Issue 18179007: refactor folders to make prepare for native pdf parser (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #include "SkPdfViewerPreferencesDictionary_autogen.h" 1 #include "SkPdfViewerPreferencesDictionary_autogen.h"
2 2
3 bool SkPdfViewerPreferencesDictionary::HideToolbar() const { 3 bool SkPdfViewerPreferencesDictionary::HideToolbar() const {
4 bool ret; 4 bool ret;
5 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HideToolbar", "", &ret)) return ret; 5 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HideToolbar", "", &ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s 6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return false; 7 return false;
8 } 8 }
9 9
10 bool SkPdfViewerPreferencesDictionary::HideMenubar() const { 10 bool SkPdfViewerPreferencesDictionary::HideMenubar() const {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // TODO(edisonn): warn about missing required field, assert for known good pdf s 76 // TODO(edisonn): warn about missing required field, assert for known good pdf s
77 return ""; 77 return "";
78 } 78 }
79 79
80 std::string SkPdfViewerPreferencesDictionary::PrintClip() const { 80 std::string SkPdfViewerPreferencesDictionary::PrintClip() const {
81 std::string ret; 81 std::string ret;
82 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PrintClip", " ", &ret)) return ret; 82 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "PrintClip", " ", &ret)) return ret;
83 // TODO(edisonn): warn about missing required field, assert for known good pdf s 83 // TODO(edisonn): warn about missing required field, assert for known good pdf s
84 return ""; 84 return "";
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698