|
Switch the downloads API over to IDL/json_schema_compiler
Modify ppapi/generators/idl_parser.py to
0: not require a file-level comment (but generate the same parse tree structure),
1: actually support ext_attrs (modifiers) for dictionaries, and
2: support [ext_attr=(symbols|values)].
Modify json_schema_compiler to
0: use "base::Value" and any_helper.ANY_CLASS instead of Value and Any in order to support ArrayBuffers named |value| or |any|,
1: actually test that namespaces and dictionaries are sorted correctly,
2: fix HGenerator._FieldDependencyOrder(),
3: support [inline_doc] on dictionaries and enums,
4: support descriptions on enums,
5: support documentation_permissions_required,
6: support [legalValues=(values...)].
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146201
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+969 lines, -1991 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/downloads/downloads_api.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+35 lines, -169 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/downloads/downloads_api.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
8 chunks |
+298 lines, -427 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_registry.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/api.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/extensions/api/downloads.idl
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+399 lines, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/common/extensions/api/downloads.json
|
View
|
|
1 chunk |
+0 lines, -1208 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/extension_api.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/build/directory.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/extensions/downloads.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
22 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/samples.json
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions_api_resources.grd
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/generators/idl_parser.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+35 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/cc_generator.py
|
View
|
1
2
3
4
5
6
7
8
|
16 chunks |
+51 lines, -50 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/cpp_type_generator.py
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/cpp_type_generator_test.py
|
View
|
|
2 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/h_generator.py
|
View
|
|
8 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/idl_schema.py
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+69 lines, -51 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/idl_schema_test.py
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/model.py
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/schema_util.py
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/json_schema_compiler/test/idl_basics.idl
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|