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

Side by Side Diff: src/core/SkValidatingReadBuffer.h

Issue 1853383002: Revert of Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/core/SkScalerContext.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('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 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkValidatingReadBuffer_DEFINED 8 #ifndef SkValidatingReadBuffer_DEFINED
9 #define SkValidatingReadBuffer_DEFINED 9 #define SkValidatingReadBuffer_DEFINED
10 10
(...skipping 21 matching lines...) Expand all
32 int32_t readInt() override; 32 int32_t readInt() override;
33 SkScalar readScalar() override; 33 SkScalar readScalar() override;
34 uint32_t readUInt() override; 34 uint32_t readUInt() override;
35 int32_t read32() override; 35 int32_t read32() override;
36 36
37 // strings -- the caller is responsible for freeing the string contents 37 // strings -- the caller is responsible for freeing the string contents
38 void readString(SkString* string) override; 38 void readString(SkString* string) override;
39 void* readEncodedString(size_t* length, SkPaint::TextEncoding encoding) over ride; 39 void* readEncodedString(size_t* length, SkPaint::TextEncoding encoding) over ride;
40 40
41 // common data structures 41 // common data structures
42 SkFlattenable* readFlattenable() override; 42 SkFlattenable* readFlattenable(SkFlattenable::Type type) override;
43 void skipFlattenable() override; 43 void skipFlattenable() override;
44 void readPoint(SkPoint* point) override; 44 void readPoint(SkPoint* point) override;
45 void readMatrix(SkMatrix* matrix) override; 45 void readMatrix(SkMatrix* matrix) override;
46 void readIRect(SkIRect* rect) override; 46 void readIRect(SkIRect* rect) override;
47 void readRect(SkRect* rect) override; 47 void readRect(SkRect* rect) override;
48 void readRegion(SkRegion* region) override; 48 void readRegion(SkRegion* region) override;
49 void readPath(SkPath* path) override; 49 void readPath(SkPath* path) override;
50 50
51 // binary data and arrays 51 // binary data and arrays
52 bool readByteArray(void* value, size_t size) override; 52 bool readByteArray(void* value, size_t size) override;
(...skipping 21 matching lines...) Expand all
74 static bool IsPtrAlign4(const void* ptr) { 74 static bool IsPtrAlign4(const void* ptr) {
75 return SkIsAlign4((uintptr_t)ptr); 75 return SkIsAlign4((uintptr_t)ptr);
76 } 76 }
77 77
78 bool fError; 78 bool fError;
79 79
80 typedef SkReadBuffer INHERITED; 80 typedef SkReadBuffer INHERITED;
81 }; 81 };
82 82
83 #endif // SkValidatingReadBuffer_DEFINED 83 #endif // SkValidatingReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkScalerContext.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698