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

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

Issue 283273002: remove unused (by clients) SkUnitMapper (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix legacy call Created 6 years, 7 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
« no previous file with comments | « src/core/SkReadBuffer.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 22 matching lines...) Expand all
33 virtual SkScalar readScalar() SK_OVERRIDE; 33 virtual SkScalar readScalar() SK_OVERRIDE;
34 virtual uint32_t readUInt() SK_OVERRIDE; 34 virtual uint32_t readUInt() SK_OVERRIDE;
35 virtual int32_t read32() SK_OVERRIDE; 35 virtual int32_t read32() SK_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 virtual void readString(SkString* string) SK_OVERRIDE; 38 virtual void readString(SkString* string) SK_OVERRIDE;
39 virtual void* readEncodedString(size_t* length, SkPaint::TextEncoding encodi ng) SK_OVERRIDE; 39 virtual void* readEncodedString(size_t* length, SkPaint::TextEncoding encodi ng) SK_OVERRIDE;
40 40
41 // common data structures 41 // common data structures
42 virtual SkFlattenable* readFlattenable(SkFlattenable::Type type) SK_OVERRIDE ; 42 virtual SkFlattenable* readFlattenable(SkFlattenable::Type type) SK_OVERRIDE ;
43 virtual void skipFlattenable() SK_OVERRIDE;
43 virtual void readPoint(SkPoint* point) SK_OVERRIDE; 44 virtual void readPoint(SkPoint* point) SK_OVERRIDE;
44 virtual void readMatrix(SkMatrix* matrix) SK_OVERRIDE; 45 virtual void readMatrix(SkMatrix* matrix) SK_OVERRIDE;
45 virtual void readIRect(SkIRect* rect) SK_OVERRIDE; 46 virtual void readIRect(SkIRect* rect) SK_OVERRIDE;
46 virtual void readRect(SkRect* rect) SK_OVERRIDE; 47 virtual void readRect(SkRect* rect) SK_OVERRIDE;
47 virtual void readRegion(SkRegion* region) SK_OVERRIDE; 48 virtual void readRegion(SkRegion* region) SK_OVERRIDE;
48 virtual void readPath(SkPath* path) SK_OVERRIDE; 49 virtual void readPath(SkPath* path) SK_OVERRIDE;
49 50
50 // binary data and arrays 51 // binary data and arrays
51 virtual bool readByteArray(void* value, size_t size) SK_OVERRIDE; 52 virtual bool readByteArray(void* value, size_t size) SK_OVERRIDE;
52 virtual bool readColorArray(SkColor* colors, size_t size) SK_OVERRIDE; 53 virtual bool readColorArray(SkColor* colors, size_t size) SK_OVERRIDE;
(...skipping 21 matching lines...) Expand all
74 static bool IsPtrAlign4(const void* ptr) { 75 static bool IsPtrAlign4(const void* ptr) {
75 return SkIsAlign4((uintptr_t)ptr); 76 return SkIsAlign4((uintptr_t)ptr);
76 } 77 }
77 78
78 bool fError; 79 bool fError;
79 80
80 typedef SkReadBuffer INHERITED; 81 typedef SkReadBuffer INHERITED;
81 }; 82 };
82 83
83 #endif // SkValidatingReadBuffer_DEFINED 84 #endif // SkValidatingReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkReadBuffer.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698