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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/help/Help.js

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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @return {!Help.ReleaseNote} 6 * @return {!Help.ReleaseNote}
7 */ 7 */
8 Help.latestReleaseNote = function() { 8 Help.latestReleaseNote = function() {
9 if (!Help._latestReleaseNote) { 9 if (!Help._latestReleaseNote) {
10 /** @type {!Help.ReleaseNote} */ 10 /** @type {!Help.ReleaseNote} */
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 return Help._browserVersion; 52 return Help._browserVersion;
53 }; 53 };
54 54
55 /** 55 /**
56 * @const 56 * @const
57 * @type {string} 57 * @type {string}
58 */ 58 */
59 Help._releaseNoteViewId = 'release-note'; 59 Help._releaseNoteViewId = 'release-note';
60 60
61 /** @typedef {!{src: string}} */ 61 /** @typedef {!{title: string, subtitle: string, link: string}} */
62 Help.ReleaseNoteImage;
63
64 /** @typedef {!{text: string, link: (string | undefined)}} */
65 Help.ReleaseNoteHighlightContent;
66
67 /** @typedef {!{contents: !Array<!Help.ReleaseNoteHighlightContent>, featured: ( boolean | undefined)}} */
68 Help.ReleaseNoteHighlight; 62 Help.ReleaseNoteHighlight;
69 63
70 /** 64 /**
71 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>, 65 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>,
72 * link: string, image: !Help.ReleaseNoteImage}} 66 * link: string}}
73 */ 67 */
74 Help.ReleaseNote; 68 Help.ReleaseNote;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698