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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 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
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 // An experimental API that allows extensions to inject suggest links in the rec ommended pane of the New Tab Page.
5 namespace experimental.discovery { 6 namespace experimental.discovery {
6 7
7 dictionary SuggestDetails { 8 dictionary SuggestDetails {
8 // The URL to suggest and that will be displayed in the new tab page under 9 // The URL to suggest and that will be displayed in the new tab page under
9 // the recommended pane. 10 // the recommended pane.
10 DOMString linkUrl; 11 DOMString linkUrl;
11 12
12 // The linkified text. It should be relatively short. 13 // The linkified text. It should be relatively short.
13 DOMString linkText; 14 DOMString linkText;
14 15
(...skipping 16 matching lines...) Expand all
31 // extension. 32 // extension.
32 // |linkUrl|: The URl to remove from discovery. Must be exactly the same as 33 // |linkUrl|: The URl to remove from discovery. Must be exactly the same as
33 // a linkUrl previously used on a call to suggest. 34 // a linkUrl previously used on a call to suggest.
34 static void removeSuggestion(DOMString linkUrl); 35 static void removeSuggestion(DOMString linkUrl);
35 36
36 // Clear all the URLs that were previously suggested for discovery by this 37 // Clear all the URLs that were previously suggested for discovery by this
37 // extension. 38 // extension.
38 static void clearAllSuggestions(); 39 static void clearAllSuggestions();
39 }; 40 };
40 }; 41 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_accessibility.json ('k') | chrome/common/extensions/api/experimental_dns.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698