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

Issue 2105033003: tabId support to chrome.extensions.getViews() (Closed)

Created:
4 years, 5 months ago by catmullings
Modified:
4 years, 4 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tabId support to chrome.extensions.getViews() Modified chrome.extensions.getViews() to support filtering by tabId BUG=72418 Committed: https://crrev.com/15fd52bd9893d7b72fda22e24d74c145b29221d1 Cr-Commit-Position: refs/heads/master@{#405631}

Patch Set 1 #

Patch Set 2 : Fixed minor style warnings #

Total comments: 1

Patch Set 3 : Tests added #

Total comments: 29

Patch Set 4 : Addressed code review #

Total comments: 9

Patch Set 5 : [Updated] Addressed code review #

Total comments: 15

Patch Set 6 : Address code review comments from patch 5 #

Patch Set 7 : Minor followup to patch 5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -25 lines) Patch
M chrome/common/extensions/api/extension.json View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/browser_action_custom_bindings.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extensions/file_entry_binding_util.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/get_views/test.js View 1 2 3 4 5 2 chunks +41 lines, -11 lines 0 comments Download
M extensions/common/constants.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/renderer/extension_frame_helper.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/extension_frame_helper.cc View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
M extensions/renderer/resources/app_window_custom_bindings.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M extensions/renderer/resources/extension_custom_bindings.js View 1 2 3 4 5 3 chunks +8 lines, -3 lines 0 comments Download
M extensions/renderer/resources/runtime_custom_bindings.js View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/renderer/runtime_custom_bindings.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
catmullings
4 years, 5 months ago (2016-06-28 23:16:57 UTC) #3
Devlin
Same here - no glaring issues, so once a test is up, I'll take a ...
4 years, 5 months ago (2016-07-01 00:35:28 UTC) #4
catmullings
4 years, 5 months ago (2016-07-11 17:20:37 UTC) #6
Devlin
Looking good! https://codereview.chromium.org/2105033003/diff/60001/chrome/test/data/extensions/api_test/get_views/test.js File chrome/test/data/extensions/api_test/get_views/test.js (left): https://codereview.chromium.org/2105033003/diff/60001/chrome/test/data/extensions/api_test/get_views/test.js#oldcode32 chrome/test/data/extensions/api_test/get_views/test.js:32: function getViews() { this indentation was probably ...
4 years, 5 months ago (2016-07-11 17:23:45 UTC) #7
catmullings
Addressed the suggestions made in the previous review. https://codereview.chromium.org/2105033003/diff/60001/chrome/test/data/extensions/api_test/get_views/test.js File chrome/test/data/extensions/api_test/get_views/test.js (right): https://codereview.chromium.org/2105033003/diff/60001/chrome/test/data/extensions/api_test/get_views/test.js#newcode14 chrome/test/data/extensions/api_test/get_views/test.js:14: // ...
4 years, 5 months ago (2016-07-12 18:13:48 UTC) #8
Devlin
Made it part of the way through, but looks like some changes weren't correctly uploaded? ...
4 years, 5 months ago (2016-07-12 18:35:58 UTC) #9
catmullings
On 2016/07/12 18:35:58, Devlin wrote: > Made it part of the way through, but looks ...
4 years, 5 months ago (2016-07-12 22:27:11 UTC) #10
catmullings
On 2016/07/12 22:27:11, catmullings wrote: > On 2016/07/12 18:35:58, Devlin wrote: > > Made it ...
4 years, 5 months ago (2016-07-12 22:27:32 UTC) #11
Devlin
On 2016/07/12 22:27:11, catmullings wrote: > On 2016/07/12 18:35:58, Devlin wrote: > > Made it ...
4 years, 5 months ago (2016-07-12 23:22:42 UTC) #12
catmullings
This patch should have the fixes that slipped from the patch 4 upload. https://codereview.chromium.org/2105033003/diff/80001/chrome/test/data/extensions/api_test/get_views/test.js File ...
4 years, 5 months ago (2016-07-13 00:04:30 UTC) #14
Devlin
https://codereview.chromium.org/2105033003/diff/60001/extensions/renderer/runtime_custom_bindings.cc File extensions/renderer/runtime_custom_bindings.cc (right): https://codereview.chromium.org/2105033003/diff/60001/extensions/renderer/runtime_custom_bindings.cc#newcode113 extensions/renderer/runtime_custom_bindings.cc:113: CHECK(args[2]->IsInt32()); On 2016/07/12 18:35:57, Devlin wrote: > On 2016/07/11 ...
4 years, 5 months ago (2016-07-13 16:22:59 UTC) #15
catmullings
Addressed comments from patch 5. Let me know if I missed any comments. https://codereview.chromium.org/2105033003/diff/60001/extensions/renderer/runtime_custom_bindings.cc File ...
4 years, 5 months ago (2016-07-13 22:07:06 UTC) #16
Devlin
lgtm, looks great!
4 years, 5 months ago (2016-07-14 00:06:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2105033003/160001
4 years, 5 months ago (2016-07-14 22:33:27 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 5 months ago (2016-07-14 23:47:13 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 23:47:36 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 23:48:56 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/15fd52bd9893d7b72fda22e24d74c145b29221d1
Cr-Commit-Position: refs/heads/master@{#405631}

Powered by Google App Engine
This is Rietveld 408576698