OLD | NEW |
1 #ifndef __DEFINED__SkPdfViewerPreferencesDictionary | 1 /* |
2 #define __DEFINED__SkPdfViewerPreferencesDictionary | 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 SkPdfViewerPreferencesDictionary_DEFINED |
| 9 #define SkPdfViewerPreferencesDictionary_DEFINED |
| 10 |
4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
5 | 12 |
6 // Entries in a viewer preferences dictionary | 13 // Entries in a viewer preferences dictionary |
7 class SkPdfViewerPreferencesDictionary : public SkPdfDictionary { | 14 class SkPdfViewerPreferencesDictionary : public SkPdfDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {return thi
s;} | 17 SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {return thi
s;} |
11 const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() const
{return this;} | 18 const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() const
{return this;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 SkString ViewArea(SkPdfNativeDoc* doc); | 537 SkString ViewArea(SkPdfNativeDoc* doc); |
531 bool has_ViewArea() const; | 538 bool has_ViewArea() const; |
532 SkString ViewClip(SkPdfNativeDoc* doc); | 539 SkString ViewClip(SkPdfNativeDoc* doc); |
533 bool has_ViewClip() const; | 540 bool has_ViewClip() const; |
534 SkString PrintArea(SkPdfNativeDoc* doc); | 541 SkString PrintArea(SkPdfNativeDoc* doc); |
535 bool has_PrintArea() const; | 542 bool has_PrintArea() const; |
536 SkString PrintClip(SkPdfNativeDoc* doc); | 543 SkString PrintClip(SkPdfNativeDoc* doc); |
537 bool has_PrintClip() const; | 544 bool has_PrintClip() const; |
538 }; | 545 }; |
539 | 546 |
540 #endif // __DEFINED__NATIVE_SkPdfViewerPreferencesDictionary | 547 #endif // SkPdfViewerPreferencesDictionary_DEFINED |
OLD | NEW |