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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfTrueTypeFontDictionary_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__SkPdfTrueTypeFontDictionary 1 /*
2 #define __DEFINED__SkPdfTrueTypeFontDictionary 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 SkPdfTrueTypeFontDictionary_DEFINED
9 #define SkPdfTrueTypeFontDictionary_DEFINED
10
4 #include "SkPdfType1FontDictionary_autogen.h" 11 #include "SkPdfType1FontDictionary_autogen.h"
5 12
6 class SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary { 13 class SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary {
7 public: 14 public:
8 public: 15 public:
9 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;} 16 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;}
10 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return t his;} 17 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return t his;}
11 18
12 private: 19 private:
13 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM ultiMasterFontDictionary*)this;} 20 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM ultiMasterFontDictionary*)this;}
14 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re turn (const SkPdfMultiMasterFontDictionary*)this;} 21 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re turn (const SkPdfMultiMasterFontDictionary*)this;}
15 22
16 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDict ionary*)this;} 23 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDict ionary*)this;}
17 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;} 24 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
18 25
19 public: 26 public:
20 bool valid() const {return true;} 27 bool valid() const {return true;}
21 SkString Subtype(SkPdfNativeDoc* doc); 28 SkString Subtype(SkPdfNativeDoc* doc);
22 bool has_Subtype() const; 29 bool has_Subtype() const;
23 }; 30 };
24 31
25 #endif // __DEFINED__NATIVE_SkPdfTrueTypeFontDictionary 32 #endif // SkPdfTrueTypeFontDictionary_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698