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

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

Issue 17679004: testing adding an extension api Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/interactive_ui_tests_run.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Put at least one comment line before 'namespace' to avoid a bug in the .idl c ompiler.
2 namespace myapi {
3 dictionary BazOptions {
4 // Describes what the id argument means.
5 long id;
6 // Describes what the s argument means.
7 DOMString s;
8 };
9
10 dictionary BazResult {
11 long x;
12 long y;
13 };
14
15 callback BazCallback = void (BazResult result);
16
17 interface Functions {
18 // An interesting comment describing what the baz operation is.
19 // Note that this function can take multiple input arguments, including thin gs like
20 // long and DOMString, but they have been elided for simplicity.
21 static void doBaz(BazOptions options, BazCallback callback);
22 };
23 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/interactive_ui_tests_run.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698