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

Issue 15127007: Automatically detect inline-able doc in IDL files (Closed)

Created:
7 years, 7 months ago by jshumway
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Automatically detect inline-able doc in IDL files Apply the inline_doc tag to IDL entries that are only referenced once so that they are rendered inline. BUG=239193 R=kalman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200182

Patch Set 1 #

Total comments: 3

Patch Set 2 : IDL Changes and Inlining return types #

Total comments: 24

Patch Set 3 : Codereview Changes #

Total comments: 8

Patch Set 4 : Reversions and enum fix #

Patch Set 5 : rebase for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M chrome/common/extensions/api/alarms.idl View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 6 chunks +34 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jshumway
Here is the initial version. There is one thing that still needs to be worked ...
7 years, 7 months ago (2013-05-14 05:14:22 UTC) #1
not at google - send to devlin
looks good, what are the failures? https://codereview.chromium.org/15127007/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/15127007/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode49 chrome/common/extensions/docs/server2/api_data_source.py:49: if node.get('$ref'): '$ref' ...
7 years, 7 months ago (2013-05-14 05:37:56 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/15127007/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/15127007/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode38 chrome/common/extensions/docs/server2/api_data_source.py:38: banned = frozenset(('returns', 'value', 'items')) as discussed - let's ...
7 years, 7 months ago (2013-05-14 06:12:25 UTC) #3
jshumway
Excluded enums, returns are inlined, and the IDL files have been changed.
7 years, 7 months ago (2013-05-15 03:31:59 UTC) #4
not at google - send to devlin
Cool. By "no way to inline items" do you mean to display them properly? Yeah, ...
7 years, 7 months ago (2013-05-15 03:55:15 UTC) #5
jshumway
https://codereview.chromium.org/15127007/diff/7001/chrome/common/extensions/api/alarms.idl File chrome/common/extensions/api/alarms.idl (right): https://codereview.chromium.org/15127007/diff/7001/chrome/common/extensions/api/alarms.idl#newcode54 chrome/common/extensions/api/alarms.idl:54: // more. That is, setting <code><var>delayInMinutes</var></code> or On 2013/05/15 ...
7 years, 7 months ago (2013-05-15 04:51:37 UTC) #6
not at google - send to devlin
lgtm, just as discussed in irc. also it would be nice if this were tested... ...
7 years, 7 months ago (2013-05-15 05:13:31 UTC) #7
not at google - send to devlin
https://codereview.chromium.org/15127007/diff/14001/chrome/common/extensions/docs/templates/private/type.html File chrome/common/extensions/docs/templates/private/type.html (right): https://codereview.chromium.org/15127007/diff/14001/chrome/common/extensions/docs/templates/private/type.html#newcode13 chrome/common/extensions/docs/templates/private/type.html:13: Properties of <a href="#type-{{type.name}}"></a> also this is a typo, ...
7 years, 7 months ago (2013-05-15 05:18:01 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/15127007/diff/14001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/15127007/diff/14001/chrome/common/extensions/docs/server2/api_data_source.py#newcode38 chrome/common/extensions/docs/server2/api_data_source.py:38: banned = frozenset(('enum', 'value', 'choices', 'items')) also I'm still ...
7 years, 7 months ago (2013-05-15 05:19:18 UTC) #9
jshumway
Reverted the returns stuff including the html template changes. Tracked down and fixed the enum ...
7 years, 7 months ago (2013-05-15 05:55:45 UTC) #10
not at google - send to devlin
7 years, 7 months ago (2013-05-15 06:31:20 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 manually as r200182.

Powered by Google App Engine
This is Rietveld 408576698