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

Side by Side Diff: LayoutTests/inspector/layers/layer-canvas-log-expected.txt

Issue 320423004: DevTools: Clean up snapshot command log. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test. Created 6 years, 6 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
OLDNEW
1 1
2 Canvas log: 2 Canvas log:
3 { 3 {
4 0 : { 4 0 : {
5 method : "save" 5 method : "save"
6 params : { 6 params : {
7 saveFlags : "kMatrix_SaveFlag kClip_SaveFlag " 7 saveFlags : "kMatrix_SaveFlag kClip_SaveFlag "
8 } 8 }
9 } 9 }
10 1 : { 10 1 : {
(...skipping 16 matching lines...) Expand all
27 textSkewX : 0 27 textSkewX : 0
28 } 28 }
29 rect : { 29 rect : {
30 bottom : 100 30 bottom : 100
31 left : 0 31 left : 0
32 right : 100 32 right : 100
33 top : 0 33 top : 0
34 } 34 }
35 } 35 }
36 } 36 }
37 10 : {
38 method : "drawRect"
39 params : {
40 paint : {
41 color : "#FF000000"
42 filterLevel : "Low"
43 flags : "AntiAlias"
44 hinting : "Normal"
45 strokeCap : "Butt"
46 strokeJoin : "Miter"
47 strokeMiter : 4
48 strokeWidth : 0
49 styleName : "Fill"
50 textAlign : "Left"
51 textEncoding : "UTF-8"
52 textScaleX : 1
53 textSize : 12
54 textSkewX : 0
55 }
56 rect : {
57 bottom : 10
58 left : 0
59 right : 10
60 top : 0
61 }
62 }
63 }
64 11 : {
65 method : "restore"
66 }
67 12 : {
68 method : "restore"
69 }
70 13 : {
71 method : "restore"
72 }
73 14 : {
74 method : "restore"
75 }
37 2 : { 76 2 : {
38 method : "drawRect" 77 method : "drawRect"
39 params : { 78 params : {
40 paint : { 79 paint : {
41 color : "#FFFF0000" 80 color : "#FFFF0000"
42 filterLevel : "Low" 81 filterLevel : "Low"
43 flags : "AntiAlias" 82 flags : "AntiAlias"
44 hinting : "Normal" 83 hinting : "Normal"
45 strokeCap : "Butt" 84 strokeCap : "Butt"
46 strokeJoin : "Miter" 85 strokeJoin : "Miter"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 } 140 }
102 src : { 141 src : {
103 bottom : 21 142 bottom : 21
104 left : 0 143 left : 0
105 right : 19 144 right : 19
106 top : 0 145 top : 0
107 } 146 }
108 } 147 }
109 } 148 }
110 4 : { 149 4 : {
111 method : "restore" 150 method : "save"
151 params : {
152 saveFlags : "kMatrix_SaveFlag kClip_SaveFlag "
153 }
154 }
155 5 : {
156 method : "clipRect"
157 params : {
158 SkRegion::Op : "kIntersect_Op"
159 rect : {
160 bottom : 221
161 left : 0
162 right : 300
163 top : 71
164 }
165 softClipEdgeStyle : false
166 }
167 }
168 6 : {
169 method : "translate"
170 params : {
171 dx : 0
172 dy : 71
173 }
174 }
175 7 : {
176 method : "save"
177 params : {
178 saveFlags : "kMatrix_SaveFlag kClip_SaveFlag "
179 }
180 }
181 8 : {
182 method : "clipRect"
183 params : {
184 SkRegion::Op : "kIntersect_Op"
185 rect : {
186 bottom : 10
187 left : 0
188 right : 10
189 top : 0
190 }
191 softClipEdgeStyle : false
192 }
193 }
194 9 : {
195 method : "saveLayer"
196 params : {
197 paint : {
198 color : "#7F000000"
199 filterLevel : "None"
200 flags : "none"
201 hinting : "Normal"
202 strokeCap : "Butt"
203 strokeJoin : "Miter"
204 strokeMiter : 4
205 strokeWidth : 0
206 styleName : "Fill"
207 textAlign : "Left"
208 textEncoding : "UTF-8"
209 textScaleX : 1
210 textSize : 12
211 textSkewX : 0
212 }
213 saveFlags : "kMatrix_SaveFlag kClip_SaveFlag kHasAlphaLayer_SaveFlag kFullColorLayer_SaveFlag kClipToLayer_SaveFlag "
214 }
112 } 215 }
113 } 216 }
114 217
OLDNEW
« no previous file with comments | « LayoutTests/inspector/layers/layer-canvas-log.html ('k') | Source/platform/graphics/GraphicsContextRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698