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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfMapper_autogen.cpp

Issue 23361009: pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo with foo_DEFINED to matc… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /*
2 * Copyright 2013 Google Inc.
3
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
1 #include "SkPdfMapper_autogen.h" 8 #include "SkPdfMapper_autogen.h"
2 #include "SkPdfUtils.h" 9 #include "SkPdfUtils.h"
3 #include "SkPdfNativeObject.h" 10 #include "SkPdfNativeObject.h"
4 11
5 SkPdfNativeObjectType SkPdfMapper::mapDictionary(const SkPdfNativeObject* in) co nst { 12 SkPdfNativeObjectType SkPdfMapper::mapDictionary(const SkPdfNativeObject* in) co nst {
6 if (in == NULL || !isDictionary(in)) return kNone_SkPdfNativeObjectType; 13 if (in == NULL || !isDictionary(in)) return kNone_SkPdfNativeObjectType;
7 14
8 SkPdfNativeObjectType ret; 15 SkPdfNativeObjectType ret;
9 if (kNone_SkPdfNativeObjectType != (ret = mapALinkAnnotationDictionary(in))) r eturn ret; 16 if (kNone_SkPdfNativeObjectType != (ret = mapALinkAnnotationDictionary(in))) r eturn ret;
10 if (kNone_SkPdfNativeObjectType != (ret = mapActionDictionary(in))) return ret ; 17 if (kNone_SkPdfNativeObjectType != (ret = mapActionDictionary(in))) return ret ;
(...skipping 4608 matching lines...) Expand 10 before | Expand all | Expand 10 after
4619 *data = (SkPdfMultiMasterFontDictionary*)value; 4626 *data = (SkPdfMultiMasterFontDictionary*)value;
4620 return true; 4627 return true;
4621 } 4628 }
4622 4629
4623 bool SkPdfMapper::SkPdfMultiMasterFontDictionaryFromDictionary(const SkPdfNative Object* dict, const char* key, const char* abr, SkPdfMultiMasterFontDictionary** data) const { 4630 bool SkPdfMapper::SkPdfMultiMasterFontDictionaryFromDictionary(const SkPdfNative Object* dict, const char* key, const char* abr, SkPdfMultiMasterFontDictionary** data) const {
4624 if (SkPdfMultiMasterFontDictionaryFromDictionary(dict, key, data)) return true ; 4631 if (SkPdfMultiMasterFontDictionaryFromDictionary(dict, key, data)) return true ;
4625 if (abr == NULL || *abr == '\0') return false; 4632 if (abr == NULL || *abr == '\0') return false;
4626 return SkPdfMultiMasterFontDictionaryFromDictionary(dict, abr, data); 4633 return SkPdfMultiMasterFontDictionaryFromDictionary(dict, abr, data);
4627 } 4634 }
4628 4635
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698