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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.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 */
1 7
2 #include "SkPdfNativeTokenizer.h" 8 #include "SkPdfNativeTokenizer.h"
3 #include "SkPdfNativeObject.h" 9 #include "SkPdfNativeObject.h"
4 #include "SkPdfConfig.h" 10 #include "SkPdfConfig.h"
5 11
6 // TODO(edisonn): mac builder does not find the header ... but from headers is o k 12 // TODO(edisonn): mac builder does not find the header ... but from headers is o k
7 //#include "SkPdfStreamCommonDictionary_autogen.h" 13 //#include "SkPdfStreamCommonDictionary_autogen.h"
8 //#include "SkPdfImageDictionary_autogen.h" 14 //#include "SkPdfImageDictionary_autogen.h"
9 #include "SkPdfHeaders_autogen.h" 15 #include "SkPdfHeaders_autogen.h"
10 16
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 SkPdfNativeObject* obj = fAllocator->allocObject(); 1098 SkPdfNativeObject* obj = fAllocator->allocObject();
1093 fUncompressedStream = nextObject(0, fUncompressedStream, fUncompress edStreamEnd, obj, fAllocator, fDoc); 1099 fUncompressedStream = nextObject(0, fUncompressedStream, fUncompress edStreamEnd, obj, fAllocator, fDoc);
1094 // TODO(edisonn): perf maybe we should not expand abreviation like t his 1100 // TODO(edisonn): perf maybe we should not expand abreviation like t his
1095 inlineImage->set(inlineImageKeyAbbreviationExpand(key), 1101 inlineImage->set(inlineImageKeyAbbreviationExpand(key),
1096 inlineImageValueAbbreviationExpand(obj)); 1102 inlineImageValueAbbreviationExpand(obj));
1097 } 1103 }
1098 } 1104 }
1099 // TODO(edisonn): report end of data with inline image without an EI 1105 // TODO(edisonn): report end of data with inline image without an EI
1100 return inlineImage; 1106 return inlineImage;
1101 } 1107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698