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

Side by Side Diff: src/pdf/SkPDFStream.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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
« no previous file with comments | « src/pdf/SkPDFDevice.h ('k') | src/pdf/SkPDFTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFStream_DEFINED 10 #ifndef SkPDFStream_DEFINED
(...skipping 22 matching lines...) Expand all
33 33
34 /** Create a PDF stream. A Length entry is automatically added to the 34 /** Create a PDF stream. A Length entry is automatically added to the
35 * stream dictionary. 35 * stream dictionary.
36 * @param stream The data part of the stream. Will be duplicate()d. 36 * @param stream The data part of the stream. Will be duplicate()d.
37 */ 37 */
38 explicit SkPDFStream(SkStream* stream); 38 explicit SkPDFStream(SkStream* stream);
39 39
40 virtual ~SkPDFStream(); 40 virtual ~SkPDFStream();
41 41
42 // The SkPDFObject interface. 42 // The SkPDFObject interface.
43 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog) SK_OVERRID E; 43 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog) override;
44 44
45 protected: 45 protected:
46 enum State { 46 enum State {
47 kUnused_State, //!< The stream hasn't been requested yet. 47 kUnused_State, //!< The stream hasn't been requested yet.
48 kNoCompression_State, //!< The stream's been requested in an 48 kNoCompression_State, //!< The stream's been requested in an
49 // uncompressed form. 49 // uncompressed form.
50 kCompressed_State, //!< The stream's already been compressed. 50 kCompressed_State, //!< The stream's already been compressed.
51 }; 51 };
52 52
53 /** Create a PDF stream with the same content and dictionary entries 53 /** Create a PDF stream with the same content and dictionary entries
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Indicates what form (or if) the stream has been requested. 89 // Indicates what form (or if) the stream has been requested.
90 State fState; 90 State fState;
91 91
92 SkAutoTDelete<SkStreamRewindable> fDataStream; 92 SkAutoTDelete<SkStreamRewindable> fDataStream;
93 SkAutoTUnref<SkPDFStream> fSubstitute; 93 SkAutoTUnref<SkPDFStream> fSubstitute;
94 94
95 typedef SkPDFDict INHERITED; 95 typedef SkPDFDict INHERITED;
96 }; 96 };
97 97
98 #endif 98 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFDevice.h ('k') | src/pdf/SkPDFTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698