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

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

Issue 2719013005: DevTools: improve design of What's New (Closed)
Patch Set: cl fb 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 /** 75 /**
76 * @const 76 * @const
77 * @type {string} 77 * @type {string}
78 */ 78 */
79 Help._releaseNoteViewId = 'release-note'; 79 Help._releaseNoteViewId = 'release-note';
80 80
81 /** @typedef {!{src: string}} */ 81 /** @typedef {!{src: string}} */
82 Help.ReleaseNoteImage; 82 Help.ReleaseNoteImage;
83 83
84 /** @typedef {!{text: string, link: string, featured: (boolean | undefined)}} */ 84 /** @typedef {!{text: string, link: (string | undefined)}} */
85 Help.ReleaseNoteHighlightContent;
86
87 /** @typedef {!{contents: !Array<!Help.ReleaseNoteHighlightContent>, featured: ( boolean | undefined)}} */
85 Help.ReleaseNoteHighlight; 88 Help.ReleaseNoteHighlight;
86 89
87 /** 90 /**
88 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>, 91 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>,
89 * link: string, image: !Help.ReleaseNoteImage}} 92 * link: string, image: !Help.ReleaseNoteImage}}
90 */ 93 */
91 Help.ReleaseNote; 94 Help.ReleaseNote;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698