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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/components/flame-chart.html

Issue 2713363002: DevTools: Highlight DOM node on hover in flamechart. (Closed)
Patch Set: fix tests Created 3 years, 9 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 | third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html » ('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 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 function initialize_flameChartTest() 5 function initialize_flameChartTest()
6 { 6 {
7 InspectorTest.preloadModule("perf_ui"); 7 InspectorTest.preloadModule("perf_ui");
8 8
9 InspectorTest.FlameChartProvider = class { 9 InspectorTest.FlameChartProvider = class {
10 constructor(entries, groups, defaults) { 10 constructor(entries, groups, defaults) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 camJumpToEntry(index) { 56 camJumpToEntry(index) {
57 return false; 57 return false;
58 } 58 }
59 59
60 forceDecoration(index) { 60 forceDecoration(index) {
61 return false; 61 return false;
62 } 62 }
63 63
64 decorateEntry(entryIndex, context, text, barX, barY, barWidth, barHeight, un clippedBarX, timeToPixels) { 64 decorateEntry(entryIndex, context, text, barX, barY, barWidth, barHeight, un clippedBarX, timeToPixels) {
65 } 65 }
66
67 highlightEntry(entryIndex) {
68 }
66 } 69 }
67 70
68 } 71 }
69 72
70 73
71 function test() 74 function test()
72 { 75 {
73 var entries = [ 76 var entries = [
74 {start: 1000, end: 5000, level: 0, title: "AAAAAAAAAAAAAAAAAAAAAA"}, 77 {start: 1000, end: 5000, level: 0, title: "AAAAAAAAAAAAAAAAAAAAAA"},
75 {start: 2000, end: 3000, level: 1, title: "bbbb"}, 78 {start: 2000, end: 3000, level: 1, title: "bbbb"},
(...skipping 12 matching lines...) Expand all
88 } 91 }
89 InspectorTest.completeTest(); 92 InspectorTest.completeTest();
90 } 93 }
91 94
92 </script> 95 </script>
93 </head> 96 </head>
94 <body onload="runTest()"> 97 <body onload="runTest()">
95 <p>Smoke test for basic FlameChart functionality.</p> 98 <p>Smoke test for basic FlameChart functionality.</p>
96 </body> 99 </body>
97 </html> 100 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-node-reference.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698