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

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: Fixing issues with experimental_APIs 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,
cduvall 2013/03/28 22:18:35 Remove trailing whitespace
epeterson 2013/03/28 23:50:36 Done.
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 // $ref:FilenameSuggestion object to <code>suggest</code> wins. In order to 466 // $ref:FilenameSuggestion object to <code>suggest</code> wins. In order to
464 // avoid confusion regarding which extension will win, users should not 467 // avoid confusion regarding which extension will win, users should not
465 // install extensions that may conflict. If the download is initiated by 468 // install extensions that may conflict. If the download is initiated by
466 // $ref:download and the target filename is known before the MIME type and 469 // $ref:download and the target filename is known before the MIME type and
467 // tentative filename have been determined, use 470 // tentative filename have been determined, use
468 // $ref:DownloadOptions.filename instead. 471 // $ref:DownloadOptions.filename instead.
469 [maxListeners=1] static void onDeterminingFilename( 472 [maxListeners=1] static void onDeterminingFilename(
470 DownloadItem downloadItem, SuggestFilenameCallback suggest); 473 DownloadItem downloadItem, SuggestFilenameCallback suggest);
471 }; 474 };
472 }; 475 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698