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

Side by Side Diff: include/utils/SkProxyCanvas.h

Issue 456203002: remove (now unneeded) legacy onDrawPicture variant (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « include/core/SkCanvas.h ('k') | no next file » | 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 2011 Google Inc. 3 * Copyright 2011 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 #ifndef SkProxyCanvas_DEFINED 8 #ifndef SkProxyCanvas_DEFINED
9 #define SkProxyCanvas_DEFINED 9 #define SkProxyCanvas_DEFINED
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], 72 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[],
73 SkScalar constY, const SkPaint&) SK_OVERRIDE; 73 SkScalar constY, const SkPaint&) SK_OVERRIDE;
74 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path, 74 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath& path,
75 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE; 75 const SkMatrix* matrix, const SkPaint&) SK_OVE RRIDE;
76 76
77 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 77 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
78 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 78 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
79 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 79 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
80 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; 80 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
81 81
82 // temporary until we can land and fix chrome
83 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE {}
84 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE; 82 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) SK_OVERRIDE;
85 83
86 private: 84 private:
87 SkCanvas* fProxy; 85 SkCanvas* fProxy;
88 86
89 typedef SkCanvas INHERITED; 87 typedef SkCanvas INHERITED;
90 }; 88 };
91 89
92 #endif 90 #endif
OLDNEW
« no previous file with comments | « include/core/SkCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698