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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/help/release-note.html

Issue 2766903002: DevTools: make what's new look nice. (Closed)
Patch Set: image added 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
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 test() { 5 function test() {
6 Help.releaseNoteText = [ 6 Help.releaseNoteText = [
7 { 7 {
8 version: 99, 8 version: 99,
9 highlights: [ 9 highlights: [
10 { 10 {
11 contents: [ 11 title: 'Improved Performance and Memory panels',
12 { 12 subtitle: '',
13 text: 'Improved', 13 link: 'https://developers.google.com/web/tools/chrome-devto ols/',
14 },
15 {
16 text: 'Performance and Memory panels',
17 link: 'https://developers.google.com/web/tools/chro me-devtools/',
18 }
19 ],
20 featured: true,
21 }, 14 },
22 { 15 {
23 contents: [ 16 title: 'Edit cookies directly from the Application panel',
24 { 17 subtitle: '',
25 text: 'Edit cookies directly', 18 link: 'https://developers.google.com/web/tools/chrome-devto ols/',
26 link: 'https://developers.google.com/web/tools/chro me-devtools/',
27 },
28 {
29 text: 'from the Application panel',
30 },
31 ],
32 }, 19 },
33 ], 20 ],
34 link: 'https://developers.google.com/web/tools/chrome-devtools/', 21 link: 'https://developers.google.com/web/tools/chrome-devtools/',
35 image: {
36 src: './resources/test.png',
37 },
38 }, 22 },
39 ]; 23 ];
40 24
41 InspectorTest.addSniffer(UI.viewManager, "showView", onShowView); 25 InspectorTest.addSniffer(UI.viewManager, "showView", onShowView);
42 26
43 InspectorTest.addResult("Last release note version seen:"); 27 InspectorTest.addResult("Last release note version seen:");
44 InspectorTest.addResult(Help.releaseNoteVersionSetting().get() + "\n"); 28 InspectorTest.addResult(Help.releaseNoteVersionSetting().get() + "\n");
45 Help.showReleaseNoteIfNeeded(); 29 Help.showReleaseNoteIfNeeded();
46 30
47 function onShowView(viewId, isUserGesture, viewPromise) { 31 function onShowView(viewId, isUserGesture, viewPromise) {
(...skipping 20 matching lines...) Expand all
68 52
69 </script> 53 </script>
70 </head> 54 </head>
71 <body onload="runTest()"> 55 <body onload="runTest()">
72 <p> 56 <p>
73 Test release note 57 Test release note
74 </p> 58 </p>
75 59
76 </body> 60 </body>
77 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698