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

Side by Side Diff: tools/android/SkAndroidSDKCanvas.h

Issue 2395273002: Assorted Android fixes (Closed)
Patch Set: rebase Created 4 years, 2 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 | « no previous file | tools/android/SkAndroidSDKCanvas.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 2015 Google Inc. 2 * Copyright 2015 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 SkAndroidSDKCanvas_DEFINED 8 #ifndef SkAndroidSDKCanvas_DEFINED
9 #define SkAndroidSDKCanvas_DEFINED 9 #define SkAndroidSDKCanvas_DEFINED
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool isClipRect() const override; 93 bool isClipRect() const override;
94 sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) ove rride; 94 sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) ove rride;
95 bool onPeekPixels(SkPixmap*) override; 95 bool onPeekPixels(SkPixmap*) override;
96 bool onAccessTopLayerPixels(SkPixmap*) override; 96 bool onAccessTopLayerPixels(SkPixmap*) override;
97 void willSave() override; 97 void willSave() override;
98 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; 98 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override;
99 void willRestore() override; 99 void willRestore() override;
100 void didRestore() override; 100 void didRestore() override;
101 void didConcat(const SkMatrix&) override; 101 void didConcat(const SkMatrix&) override;
102 void didSetMatrix(const SkMatrix&) override; 102 void didSetMatrix(const SkMatrix&) override;
103 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 103 void onClipRect(const SkRect&, ClipOp, ClipEdgeStyle) override;
104 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 104 void onClipRRect(const SkRRect&, ClipOp, ClipEdgeStyle) override;
105 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 105 void onClipPath(const SkPath&, ClipOp, ClipEdgeStyle) override;
106 void onClipRegion(const SkRegion&, SkRegion::Op) override; 106 void onClipRegion(const SkRegion&, ClipOp) override;
107 void onDiscard() override; 107 void onDiscard() override;
108 108
109 protected: 109 protected:
110 SkCanvas* fProxyTarget; 110 SkCanvas* fProxyTarget;
111 }; 111 };
112 112
113 #endif // SkAndroidSDKCanvas_DEFINED 113 #endif // SkAndroidSDKCanvas_DEFINED
OLDNEW
« no previous file with comments | « no previous file | tools/android/SkAndroidSDKCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698