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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/layers/layer-canvas-log-expected.txt
diff --git a/LayoutTests/inspector/layers/layer-canvas-log-expected.txt b/LayoutTests/inspector/layers/layer-canvas-log-expected.txt
index 9e039ff1f3263b4549ff06e65c5ce5dcd36621bd..47e249c094e1a2a968917b7363084f7c01e5f0b8 100644
--- a/LayoutTests/inspector/layers/layer-canvas-log-expected.txt
+++ b/LayoutTests/inspector/layers/layer-canvas-log-expected.txt
@@ -34,6 +34,45 @@ Canvas log:
}
}
}
+ 10 : {
+ method : "drawRect"
+ params : {
+ paint : {
+ color : "#FF000000"
+ filterLevel : "Low"
+ flags : "AntiAlias"
+ hinting : "Normal"
+ strokeCap : "Butt"
+ strokeJoin : "Miter"
+ strokeMiter : 4
+ strokeWidth : 0
+ styleName : "Fill"
+ textAlign : "Left"
+ textEncoding : "UTF-8"
+ textScaleX : 1
+ textSize : 12
+ textSkewX : 0
+ }
+ rect : {
+ bottom : 10
+ left : 0
+ right : 10
+ top : 0
+ }
+ }
+ }
+ 11 : {
+ method : "restore"
+ }
+ 12 : {
+ method : "restore"
+ }
+ 13 : {
+ method : "restore"
+ }
+ 14 : {
+ method : "restore"
+ }
2 : {
method : "drawRect"
params : {
@@ -108,7 +147,71 @@ Canvas log:
}
}
4 : {
- method : "restore"
+ method : "save"
+ params : {
+ saveFlags : "kMatrix_SaveFlag kClip_SaveFlag "
+ }
+ }
+ 5 : {
+ method : "clipRect"
+ params : {
+ SkRegion::Op : "kIntersect_Op"
+ rect : {
+ bottom : 221
+ left : 0
+ right : 300
+ top : 71
+ }
+ softClipEdgeStyle : false
+ }
+ }
+ 6 : {
+ method : "translate"
+ params : {
+ dx : 0
+ dy : 71
+ }
+ }
+ 7 : {
+ method : "save"
+ params : {
+ saveFlags : "kMatrix_SaveFlag kClip_SaveFlag "
+ }
+ }
+ 8 : {
+ method : "clipRect"
+ params : {
+ SkRegion::Op : "kIntersect_Op"
+ rect : {
+ bottom : 10
+ left : 0
+ right : 10
+ top : 0
+ }
+ softClipEdgeStyle : false
+ }
+ }
+ 9 : {
+ method : "saveLayer"
+ params : {
+ paint : {
+ color : "#7F000000"
+ filterLevel : "None"
+ flags : "none"
+ hinting : "Normal"
+ strokeCap : "Butt"
+ strokeJoin : "Miter"
+ strokeMiter : 4
+ strokeWidth : 0
+ styleName : "Fill"
+ textAlign : "Left"
+ textEncoding : "UTF-8"
+ textScaleX : 1
+ textSize : 12
+ textSkewX : 0
+ }
+ saveFlags : "kMatrix_SaveFlag kClip_SaveFlag kHasAlphaLayer_SaveFlag kFullColorLayer_SaveFlag kClipToLayer_SaveFlag "
+ }
}
}
« 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