| OLD | NEW |
| 1 #ifndef EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKPDFOBJECT_H_ | 1 /* |
| 2 #define EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKPDFOBJECT_H_ | 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 |
| 8 #ifndef SkPdfNativeObject_DEFINED |
| 9 #define SkPdfNativeObject_DEFINED |
| 3 | 10 |
| 4 #include <stdint.h> | 11 #include <stdint.h> |
| 5 #include <string.h> | 12 #include <string.h> |
| 6 #include "SkString.h" | 13 #include "SkString.h" |
| 7 #include "SkTDArray.h" | 14 #include "SkTDArray.h" |
| 8 #include "SkTDict.h" | 15 #include "SkTDict.h" |
| 9 #include "SkRect.h" | 16 #include "SkRect.h" |
| 10 #include "SkMatrix.h" | 17 #include "SkMatrix.h" |
| 11 #include "SkString.h" | 18 #include "SkString.h" |
| 12 | 19 |
| (...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 class SkPdfName : public SkPdfNativeObject { | 1037 class SkPdfName : public SkPdfNativeObject { |
| 1031 SkPdfName() : SkPdfNativeObject() { | 1038 SkPdfName() : SkPdfNativeObject() { |
| 1032 SkPdfNativeObject::makeName((const unsigned char*)"", this); | 1039 SkPdfNativeObject::makeName((const unsigned char*)"", this); |
| 1033 } | 1040 } |
| 1034 public: | 1041 public: |
| 1035 SkPdfName(char* name) : SkPdfNativeObject() { | 1042 SkPdfName(char* name) : SkPdfNativeObject() { |
| 1036 this->makeName((const unsigned char*)name, this); | 1043 this->makeName((const unsigned char*)name, this); |
| 1037 } | 1044 } |
| 1038 }; | 1045 }; |
| 1039 | 1046 |
| 1040 #endif // EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKPDFOBJECT_H_ | 1047 #endif // SkPdfNativeObject |
| OLD | NEW |