BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / resources / downloads / externs.js
blob65efb05f9446f7f6b1de59ddf0f43c5da54e0c1c
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 /**
6  * @fileoverview Externs for objects sent from C++ to JS for chrome://downloads.
7  * @externs
8  */
10 var downloads = {};
12 /**
13  * The type of the download object. The definition is based on
14  * chrome/browser/ui/webui/downloads_dom_handler.cc:CreateDownloadItemValue()
15  * @typedef {{by_ext_id: string,
16  *            by_ext_name: string,
17  *            danger_type: string,
18  *            date_string: string,
19  *            file_externally_removed: boolean,
20  *            file_name: string,
21  *            file_path: string,
22  *            file_url: string,
23  *            id: string,
24  *            last_reason_text: string,
25  *            otr: boolean,
26  *            percent: number,
27  *            progress_status_text: string,
28  *            resume: boolean,
29  *            retry: boolean,
30  *            since_string: string,
31  *            started: number,
32  *            state: string,
33  *            total: number,
34  *            url: string}}
35  */
36 downloads.Data;