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

Side by Side Diff: LayoutTests/virtual/implsidepainting/inspector/tracing/paint-command-log-nodes.html

Issue 715803002: DevTools: merge TracingTimelineModel into TimelineModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « LayoutTests/inspector/tracing/update-layer-tree.html ('k') | Source/devtools/devtools.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 </style> 4 </style>
5 <script src="../../../../http/tests/inspector/inspector-test.js"></script> 5 <script src="../../../../http/tests/inspector/inspector-test.js"></script>
6 <script src="../../../../http/tests/inspector/timeline-test.js"></script> 6 <script src="../../../../http/tests/inspector/timeline-test.js"></script>
7 <script src="../../../../inspector/tracing-test.js"></script> 7 <script src="../../../../inspector/tracing-test.js"></script>
8 <script> 8 <script>
9 9
10 function doActions(callback) 10 function doActions(callback)
(...skipping 10 matching lines...) Expand all
21 21
22 InspectorTest.invokeWithTracing("doActions", onTracingComplete, "disabled-by -default-blink.graphics_context_annotations"); 22 InspectorTest.invokeWithTracing("doActions", onTracingComplete, "disabled-by -default-blink.graphics_context_annotations");
23 23
24 24
25 var inFlightPictures = 0; 25 var inFlightPictures = 0;
26 function onTracingComplete() 26 function onTracingComplete()
27 { 27 {
28 var events = InspectorTest.tracingTimelineModel().inspectedTargetEvents( ); 28 var events = InspectorTest.tracingTimelineModel().inspectedTargetEvents( );
29 for (var i = 0; i < events.length; ++i) { 29 for (var i = 0; i < events.length; ++i) {
30 var event = events[i]; 30 var event = events[i];
31 if (event.name !== WebInspector.TracingTimelineModel.RecordType.Pain t) 31 if (event.name !== WebInspector.TimelineModel.RecordType.Paint)
32 continue; 32 continue;
33 if (!event.picture) 33 if (!event.picture)
34 continue; 34 continue;
35 ++inFlightPictures; 35 ++inFlightPictures;
36 new WebInspector.LayerPaintEvent(event).loadPicture(onSnapshotLoaded ); 36 new WebInspector.LayerPaintEvent(event).loadPicture(onSnapshotLoaded );
37 } 37 }
38 if (!inFlightPictures) 38 if (!inFlightPictures)
39 InspectorTest.completeTest(); 39 InspectorTest.completeTest();
40 } 40 }
41 41
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 </p> 94 </p>
95 <div id="a" style="visibility:hidden; transform: translateZ(0px); background-col or:blue; width:100px; height:100px;"> 95 <div id="a" style="visibility:hidden; transform: translateZ(0px); background-col or:blue; width:100px; height:100px;">
96 <div id="b" style="width:50px; height:50px; background-color:red;"></div> 96 <div id="b" style="width:50px; height:50px; background-color:red;"></div>
97 <img id="c" src="../timeline/resources/test.png"> 97 <img id="c" src="../timeline/resources/test.png">
98 <svg id="d"> 98 <svg id="d">
99 <rect id="e" x="0" y="0" width="10" height="10" style="opacity:0.5"/> 99 <rect id="e" x="0" y="0" width="10" height="10" style="opacity:0.5"/>
100 </svg> 100 </svg>
101 </div> 101 </div>
102 </body> 102 </body>
103 </html> 103 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing/update-layer-tree.html ('k') | Source/devtools/devtools.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698