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

Side by Side Diff: chrome/common/extensions/api/downloads.idl

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor changes Created 7 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Use the <code>chrome.downloads</code> API to programmatically initiate,
6 // monitor, manipulate, and search for downloads.
7
5 [permissions=downloads] 8 [permissions=downloads]
6 namespace downloads { 9 namespace downloads {
7 [inline_doc] dictionary HeaderNameValuePair { 10 [inline_doc] dictionary HeaderNameValuePair {
8 // Name of the HTTP header. 11 // Name of the HTTP header.
9 DOMString name; 12 DOMString name;
10 13
11 // Value of the HTTP header. 14 // Value of the HTTP header.
12 DOMString value; 15 DOMString value;
13 }; 16 };
14 17
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 // <code>FilenameSuggestion</code> object to <code>suggest</code> wins. In 475 // <code>FilenameSuggestion</code> object to <code>suggest</code> wins. In
473 // order to avoid confusion regarding which extension will win, users should 476 // order to avoid confusion regarding which extension will win, users should
474 // not install extensions that may conflict. If the download is initiated by 477 // not install extensions that may conflict. If the download is initiated by
475 // $ref:download and the target filename is known before the MIME type and 478 // $ref:download and the target filename is known before the MIME type and
476 // tentative filename have been determined, use 479 // tentative filename have been determined, use
477 // <code>DownloadOptions.filename</code> instead. 480 // <code>DownloadOptions.filename</code> instead.
478 [maxListeners=1] static void onDeterminingFilename( 481 [maxListeners=1] static void onDeterminingFilename(
479 DownloadItem downloadItem, SuggestFilenameCallback suggest); 482 DownloadItem downloadItem, SuggestFilenameCallback suggest);
480 }; 483 };
481 }; 484 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698