OLD | NEW |
1 #ifndef __DEFINED__SkPdfJavascriptActionDictionary | 1 /* |
2 #define __DEFINED__SkPdfJavascriptActionDictionary | 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 SkPdfJavascriptActionDictionary_DEFINED |
| 9 #define SkPdfJavascriptActionDictionary_DEFINED |
| 10 |
4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
5 | 12 |
6 // Additional entries specific to a JavaScript action | 13 // Additional entries specific to a JavaScript action |
7 class SkPdfJavascriptActionDictionary : public SkPdfDictionary { | 14 class SkPdfJavascriptActionDictionary : public SkPdfDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {return this;
} | 17 SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {return this;
} |
11 const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() const {
return this;} | 18 const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() const {
return this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
514 SkString S(SkPdfNativeDoc* doc); | 521 SkString S(SkPdfNativeDoc* doc); |
515 bool has_S() const; | 522 bool has_S() const; |
516 bool isJSAString(SkPdfNativeDoc* doc); | 523 bool isJSAString(SkPdfNativeDoc* doc); |
517 SkString getJSAsString(SkPdfNativeDoc* doc); | 524 SkString getJSAsString(SkPdfNativeDoc* doc); |
518 bool isJSAStream(SkPdfNativeDoc* doc); | 525 bool isJSAStream(SkPdfNativeDoc* doc); |
519 SkPdfStream* getJSAsStream(SkPdfNativeDoc* doc); | 526 SkPdfStream* getJSAsStream(SkPdfNativeDoc* doc); |
520 bool has_JS() const; | 527 bool has_JS() const; |
521 }; | 528 }; |
522 | 529 |
523 #endif // __DEFINED__NATIVE_SkPdfJavascriptActionDictionary | 530 #endif // SkPdfJavascriptActionDictionary_DEFINED |
OLD | NEW |