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

Issue 10797039: Extensions Docs Server: devtools API (Closed)

Created:
8 years, 5 months ago by cduvall
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, pam+watch_chromium.org, chebert, clintstaley
Visibility:
Public.

Description

Extensions Docs Server: fix rendering of the Devtools API. This change splits devtools_api.json into a separate file per namespace so that JSON schema compiler can parse it. Without that, HandlebarDictGenerator can't access the API, and the docs server can't render it BUG=131095 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149291

Patch Set 1 : #

Total comments: 3

Patch Set 2 : any -> additionalProperties #

Patch Set 3 : Remove devtools_api.json #

Patch Set 4 : console and audits are back #

Total comments: 8

Patch Set 5 : comments #

Patch Set 6 : move parsing logic into utils #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1267 lines, -905 lines) Patch
A chrome/common/extensions/api/devtools/experimental_audits.json View 1 2 3 1 chunk +190 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/devtools/experimental_console.json View 1 2 3 1 chunk +99 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/devtools/inspected_window.json View 1 1 chunk +196 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/devtools/network.json View 1 2 3 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/devtools/panels.json View 1 2 3 1 chunk +316 lines, -0 lines 0 comments Download
D chrome/common/extensions/api/devtools_api.json View 1 2 1 chunk +0 lines, -859 lines 0 comments Download
M chrome/common/extensions/docs/build/build.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/extensions/devtools.panels.html View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source.py View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
A chrome/common/extensions/docs/server2/docs_server_utils.py View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/handlebar_dict_generator.py View 1 2 3 4 5 4 chunks +4 lines, -12 lines 0 comments Download
M chrome/common/extensions/docs/server2/handlebar_dict_generator_test.py View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/intro_data_source.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
D chrome/common/extensions/docs/server2/path_utils.py View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
A + chrome/common/extensions/docs/server2/static/images/devtools-panels.png View Binary file 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/server2/templates/articles/experimental_devtools.html View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/articles/experimental_devtools_resources.html View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/intros/devtools_inspectedWindow.html View 1 chunk +97 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/intros/devtools_network.html View 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/intros/devtools_panels.html View 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_audits.html View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/server2/templates/intros/experimental_devtools_console.html View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/server2/templates/private/standard_article.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/templates/private/type.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/templates/private/variable_type.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/devtools_inspectedWindow.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/devtools_network.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/devtools_panels.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/experimental_devtools.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/experimental_devtools_audits.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/experimental_devtools_console.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/templates/public/experimental_devtools_resources.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/json_schema_compiler/model.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
cduvall
Devtools API. Yay! https://chromiumcodereview.appspot.com/10797039/diff/2001/chrome/common/extensions/api/devtools/network.json File chrome/common/extensions/api/devtools/network.json (right): https://chromiumcodereview.appspot.com/10797039/diff/2001/chrome/common/extensions/api/devtools/network.json#newcode55 chrome/common/extensions/api/devtools/network.json:55: "type": "any", FYI, I changed this ...
8 years, 5 months ago (2012-07-19 22:54:16 UTC) #1
not at google - send to devlin
+caseq for devtools. Clark, you might want to give a bit more background in the ...
8 years, 5 months ago (2012-07-20 00:26:35 UTC) #2
cduvall
Added better description. https://chromiumcodereview.appspot.com/10797039/diff/2001/chrome/common/extensions/api/devtools/network.json File chrome/common/extensions/api/devtools/network.json (right): https://chromiumcodereview.appspot.com/10797039/diff/2001/chrome/common/extensions/api/devtools/network.json#newcode55 chrome/common/extensions/api/devtools/network.json:55: "type": "any", On 2012/07/20 00:26:35, kalman ...
8 years, 5 months ago (2012-07-20 00:31:09 UTC) #3
not at google - send to devlin
I think you'll want to add "additionalProperties": {type: "any"} then.
8 years, 5 months ago (2012-07-20 00:33:59 UTC) #4
cduvall
On 2012/07/20 00:33:59, kalman wrote: > I think you'll want to add "additionalProperties": {type: "any"} ...
8 years, 5 months ago (2012-07-20 00:38:44 UTC) #5
cduvall
+pfeldman for devtools API
8 years, 5 months ago (2012-07-25 01:10:57 UTC) #6
caseq
So you're adding {inspected_window,network,panels}.json but not removing these APIs from devtools_api.json -- is this intentional?
8 years, 5 months ago (2012-07-25 13:36:06 UTC) #7
cduvall
On 2012/07/25 13:36:06, caseq wrote: > So you're adding {inspected_window,network,panels}.json but not removing these > ...
8 years, 5 months ago (2012-07-25 15:46:51 UTC) #8
caseq
On 2012/07/25 15:46:51, cduvall wrote: > On 2012/07/25 13:36:06, caseq wrote: > > So you're ...
8 years, 5 months ago (2012-07-25 16:37:32 UTC) #9
cduvall
On 2012/07/25 16:37:32, caseq wrote: > On 2012/07/25 15:46:51, cduvall wrote: > > On 2012/07/25 ...
8 years, 5 months ago (2012-07-25 17:57:25 UTC) #10
caseq
> Ok, the old devtools_api.json file is gone, and now the old docs use the ...
8 years, 5 months ago (2012-07-25 18:05:36 UTC) #11
cduvall
On 2012/07/25 18:05:36, caseq wrote: > > Ok, the old devtools_api.json file is gone, and ...
8 years, 5 months ago (2012-07-25 18:07:19 UTC) #12
cduvall
caseq: console and audits are back in but I couldn't find anything on timeline. Is ...
8 years, 5 months ago (2012-07-25 20:46:17 UTC) #13
caseq
On 2012/07/25 20:46:17, cduvall wrote: > caseq: console and audits are back in but I ...
8 years, 4 months ago (2012-07-27 17:51:51 UTC) #14
not at google - send to devlin
I think this might need to be synced to tip, like, the events stuff in ...
8 years, 4 months ago (2012-07-30 08:17:20 UTC) #15
cduvall
Addressed comments. I'd like to get this in before the docs conversion script, so that ...
8 years, 4 months ago (2012-07-31 18:41:45 UTC) #16
not at google - send to devlin
8 years, 4 months ago (2012-07-31 21:58:05 UTC) #17
lgtm

Powered by Google App Engine
This is Rietveld 408576698