| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfTextFieldDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfTextFieldDictionary | 2 * Copyright 2013 Google Inc. |
| 3 | 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 SkPdfTextFieldDictionary_DEFINED |
| 9 #define SkPdfTextFieldDictionary_DEFINED |
| 10 |
| 4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
| 5 | 12 |
| 6 // Additional entry specific to a text field | 13 // Additional entry specific to a text field |
| 7 class SkPdfTextFieldDictionary : public SkPdfDictionary { | 14 class SkPdfTextFieldDictionary : public SkPdfDictionary { |
| 8 public: | 15 public: |
| 9 public: | 16 public: |
| 10 SkPdfTextFieldDictionary* asTextFieldDictionary() {return this;} | 17 SkPdfTextFieldDictionary* asTextFieldDictionary() {return this;} |
| 11 const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return this;} | 18 const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return this;} |
| 12 | 19 |
| 13 private: | 20 private: |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 515 |
| 509 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} | 516 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} |
| 510 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} | 517 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} |
| 511 | 518 |
| 512 public: | 519 public: |
| 513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
| 514 int64_t MaxLen(SkPdfNativeDoc* doc); | 521 int64_t MaxLen(SkPdfNativeDoc* doc); |
| 515 bool has_MaxLen() const; | 522 bool has_MaxLen() const; |
| 516 }; | 523 }; |
| 517 | 524 |
| 518 #endif // __DEFINED__NATIVE_SkPdfTextFieldDictionary | 525 #endif // SkPdfTextFieldDictionary_DEFINED |
| OLD | NEW |