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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfSoftMaskImageDictionary_autogen.h

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 #ifndef __DEFINED__SkPdfSoftMaskImageDictionary 1 /*
2 #define __DEFINED__SkPdfSoftMaskImageDictionary 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 SkPdfSoftMaskImageDictionary_DEFINED
9 #define SkPdfSoftMaskImageDictionary_DEFINED
10
4 #include "SkPdfImageDictionary_autogen.h" 11 #include "SkPdfImageDictionary_autogen.h"
5 12
6 // Additional entry in a soft-mask image dictionary 13 // Additional entry in a soft-mask image dictionary
7 class SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary { 14 class SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary {
8 public: 15 public:
9 public: 16 public:
10 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;} 17 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;}
11 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return this;} 18 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return this;}
12 19
13 private: 20 private:
14 public: 21 public:
15 bool valid() const {return true;} 22 bool valid() const {return true;}
16 SkPdfArray* Matte(SkPdfNativeDoc* doc); 23 SkPdfArray* Matte(SkPdfNativeDoc* doc);
17 bool has_Matte() const; 24 bool has_Matte() const;
18 SkString Subtype(SkPdfNativeDoc* doc); 25 SkString Subtype(SkPdfNativeDoc* doc);
19 bool has_Subtype() const; 26 bool has_Subtype() const;
20 SkString ColorSpace(SkPdfNativeDoc* doc); 27 SkString ColorSpace(SkPdfNativeDoc* doc);
21 bool has_ColorSpace() const; 28 bool has_ColorSpace() const;
22 }; 29 };
23 30
24 #endif // __DEFINED__NATIVE_SkPdfSoftMaskImageDictionary 31 #endif // SkPdfSoftMaskImageDictionary_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698