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

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

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | Annotate | Revision Log
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 // File-level comment to appease parser. Eventually this will not be necessary.
6
7 namespace experimental.discovery { 5 namespace experimental.discovery {
8 6
9 dictionary SuggestDetails { 7 dictionary SuggestDetails {
10 // The URL to suggest and that will be displayed in the new tab page under 8 // The URL to suggest and that will be displayed in the new tab page under
11 // the recommended pane. 9 // the recommended pane.
12 DOMString linkUrl; 10 DOMString linkUrl;
13 11
14 // The linkified text. It should be relatively short. 12 // The linkified text. It should be relatively short.
15 DOMString linkText; 13 DOMString linkText;
16 14
(...skipping 12 matching lines...) Expand all
29 // Removes a URL that was previously suggested for discovery by this 27 // Removes a URL that was previously suggested for discovery by this
30 // extension. 28 // extension.
31 // |linkUrl|: The URl to remove from discovery. Must be exactly the same as 29 // |linkUrl|: The URl to remove from discovery. Must be exactly the same as
32 // a linkUrl previously used on a call to suggest. 30 // a linkUrl previously used on a call to suggest.
33 static void removeSuggestion(DOMString linkUrl); 31 static void removeSuggestion(DOMString linkUrl);
34 32
35 // Clear all the URLs that were previously suggested for discovery by this 33 // Clear all the URLs that were previously suggested for discovery by this
36 // extension. 34 // extension.
37 static void clearAllSuggestions(); 35 static void clearAllSuggestions();
38 }; 36 };
39 }; 37 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698