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

Issue 375133002: Docserver: Display API features that are available to content scripts (Closed)

Created:
6 years, 5 months ago by ahernandez
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Docserver: Display API features that are available to content scripts BUG=278919 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284523

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments #

Total comments: 8

Patch Set 3 : Moar changes #

Total comments: 9

Patch Set 4 : Rebase/Address comments #

Total comments: 5

Patch Set 5 : #

Total comments: 6

Patch Set 6 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -79 lines) Patch
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 4 5 5 chunks +26 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source_test.py View 1 2 3 4 5 8 chunks +29 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source.py View 1 2 3 4 5 3 chunks +23 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_list_data_source_test.py View 1 2 3 4 5 8 chunks +42 lines, -12 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_models.py View 1 2 3 4 5 4 chunks +69 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_models_test.py View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/docs_server_utils.py View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/features_bundle.py View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/platform_bundle.py View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/test_data/api_data_source/canned_trunk_fs.py View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/static/css/out/site.css View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/static/sass/_api.scss View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/articles/content_scripts.html View 1 2 3 4 1 chunk +14 lines, -3 lines 0 comments Download
D chrome/common/extensions/docs/templates/intros/extension.html View 1 chunk +0 lines, -34 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/intro_tables/content_scripts.html View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/content_scripts.html View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/public/extensions/extension.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
ahernandez
Here is where DanielJ left off on displaying API feature availability within content scripts. It ...
6 years, 5 months ago (2014-07-09 01:06:26 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/375133002/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/375133002/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode537 chrome/common/extensions/docs/server2/api_data_source.py:537: 'content_scripts.html')).Get(), this doesn't actually exist https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/server2/api_data_source_test.py File chrome/common/extensions/docs/server2/api_data_source_test.py (right): ...
6 years, 5 months ago (2014-07-09 02:55:55 UTC) #2
not at google - send to devlin
https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/server2/api_list_data_source.py File chrome/common/extensions/docs/server2/api_list_data_source.py (right): https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/server2/api_list_data_source.py#newcode39 chrome/common/extensions/docs/server2/api_list_data_source.py:39: return content_scripts_apis_list we should filter out undocumented APIs here, ...
6 years, 5 months ago (2014-07-09 03:03:00 UTC) #3
ahernandez
https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html File chrome/common/extensions/docs/templates/articles/content_scripts.html (right): https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html#newcode30 chrome/common/extensions/docs/templates/articles/content_scripts.html:30: Use chrome.* APIs, with the exception of: On 2014/07/09 ...
6 years, 5 months ago (2014-07-09 19:22:36 UTC) #4
ahernandez
PTAL
6 years, 5 months ago (2014-07-09 19:42:21 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html File chrome/common/extensions/docs/templates/articles/content_scripts.html (right): https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html#newcode30 chrome/common/extensions/docs/templates/articles/content_scripts.html:30: Use chrome.* APIs, with the exception of: On 2014/07/09 ...
6 years, 5 months ago (2014-07-09 20:49:53 UTC) #6
not at google - send to devlin
On 2014/07/09 20:49:53, kalman wrote: > https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html > File chrome/common/extensions/docs/templates/articles/content_scripts.html > (right): > > https://codereview.chromium.org/375133002/diff/1/chrome/common/extensions/docs/templates/articles/content_scripts.html#newcode30 ...
6 years, 5 months ago (2014-07-10 16:38:13 UTC) #7
not at google - send to devlin
almost there. https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py File chrome/common/extensions/docs/server2/api_models.py (right): https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py#newcode25 chrome/common/extensions/docs/server2/api_models.py:25: self.restrictedTo = [] I'd rather "nothing restricted" ...
6 years, 5 months ago (2014-07-10 17:31:28 UTC) #8
ahernandez
https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py File chrome/common/extensions/docs/server2/api_models.py (right): https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py#newcode27 chrome/common/extensions/docs/server2/api_models.py:27: def get(self, key): On 2014/07/10 17:31:27, kalman (OOO July ...
6 years, 5 months ago (2014-07-14 18:11:18 UTC) #9
not at google - send to devlin
https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py File chrome/common/extensions/docs/server2/api_models.py (right): https://codereview.chromium.org/375133002/diff/20001/chrome/common/extensions/docs/server2/api_models.py#newcode27 chrome/common/extensions/docs/server2/api_models.py:27: def get(self, key): On 2014/07/14 18:11:18, ahernandez wrote: > ...
6 years, 5 months ago (2014-07-15 16:26:38 UTC) #10
ahernandez
PTAL.
6 years, 5 months ago (2014-07-15 19:30:32 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/375133002/diff/40001/chrome/common/extensions/docs/server2/api_data_source_test.py File chrome/common/extensions/docs/server2/api_data_source_test.py (right): https://codereview.chromium.org/375133002/diff/40001/chrome/common/extensions/docs/server2/api_data_source_test.py#newcode235 chrome/common/extensions/docs/server2/api_data_source_test.py:235: 'contentScriptSupport': expected_content_script_support.__dict__ I'd rather you test the dict output ...
6 years, 5 months ago (2014-07-15 21:34:40 UTC) #12
ahernandez
PTAL.
6 years, 5 months ago (2014-07-16 00:11:04 UTC) #13
not at google - send to devlin
https://codereview.chromium.org/375133002/diff/80001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/375133002/diff/80001/chrome/common/extensions/docs/server2/api_data_source.py#newcode276 chrome/common/extensions/docs/server2/api_data_source.py:276: self._content_script_apis = api_models.GetContentScriptAPIs().Get() come to think of it, if ...
6 years, 5 months ago (2014-07-16 00:32:20 UTC) #14
ahernandez
Here are the new changes, PTAL. https://codereview.chromium.org/375133002/diff/100001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/375133002/diff/100001/chrome/common/extensions/docs/server2/api_data_source.py#newcode584 chrome/common/extensions/docs/server2/api_data_source.py:584: if content_script_support.restrictedTo: Should ...
6 years, 5 months ago (2014-07-16 20:35:34 UTC) #15
ahernandez
On 2014/07/16 20:35:34, ahernandez wrote: > Here are the new changes, PTAL. > > https://codereview.chromium.org/375133002/diff/100001/chrome/common/extensions/docs/server2/api_data_source.py ...
6 years, 5 months ago (2014-07-21 17:20:18 UTC) #16
not at google - send to devlin
lgtm with nits https://codereview.chromium.org/375133002/diff/100001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/375133002/diff/100001/chrome/common/extensions/docs/server2/api_data_source.py#newcode584 chrome/common/extensions/docs/server2/api_data_source.py:584: if content_script_support.restrictedTo: On 2014/07/16 20:35:34, ahernandez ...
6 years, 5 months ago (2014-07-21 17:51:20 UTC) #17
ahernandez
The CQ bit was checked by ahernandez.miralles@gmail.com
6 years, 5 months ago (2014-07-21 18:46:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahernandez.miralles@gmail.com/375133002/140001
6 years, 5 months ago (2014-07-21 18:48:12 UTC) #19
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 22:39:47 UTC) #20
Message was sent while issue was closed.
Change committed as 284523

Powered by Google App Engine
This is Rietveld 408576698