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

Issue 734983003: Make undocked DevTools window invisible to extensions API. (Closed)

Created:
6 years, 1 month ago by dgozman
Modified:
6 years 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

Make undocked DevTools window invisible to extensions API. BUG=427226 Committed: https://crrev.com/4af3ec98321a5f2f942dfcb52f9e329f18bbd7d7 Cr-Commit-Position: refs/heads/master@{#305440}

Patch Set 1 #

Patch Set 2 : Added test #

Patch Set 3 : tabs.query #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 1 chunk +5 lines, -0 lines 3 comments Download
M chrome/browser/extensions/api/tabs/tabs_test.cc View 1 2 4 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/extensions/browser_extension_window_controller.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (3 generated)
pfeldman
lgtm
6 years, 1 month ago (2014-11-18 14:55:05 UTC) #2
not at google - send to devlin
Is there an easy way to write a test for this?
6 years, 1 month ago (2014-11-18 15:36:18 UTC) #4
dgozman
Added simple test. PTAL
6 years, 1 month ago (2014-11-19 12:49:21 UTC) #5
dgozman
@kalman: friendly ping.
6 years, 1 month ago (2014-11-21 09:55:00 UTC) #6
not at google - send to devlin
lgtm
6 years, 1 month ago (2014-11-21 21:10:25 UTC) #7
not at google - send to devlin
This makes it hidden from both the chrome.tabs and chrome.windows APIs right?
6 years, 1 month ago (2014-11-21 21:10:57 UTC) #8
dgozman
https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode858 chrome/browser/extensions/api/tabs/tabs_api.cc:858: if (!browser->extension_window_controller()->IsVisibleToExtension( I had to add a check here ...
6 years ago (2014-11-24 16:26:45 UTC) #9
not at google - send to devlin
https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode858 chrome/browser/extensions/api/tabs/tabs_api.cc:858: if (!browser->extension_window_controller()->IsVisibleToExtension( On 2014/11/24 16:26:45, dgozman wrote: > I ...
6 years ago (2014-11-24 16:46:41 UTC) #10
dgozman
Alright, I'm going to land this. https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/734983003/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode858 chrome/browser/extensions/api/tabs/tabs_api.cc:858: if (!browser->extension_window_controller()->IsVisibleToExtension( On ...
6 years ago (2014-11-24 16:50:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/734983003/40001
6 years ago (2014-11-24 16:52:14 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-11-24 17:34:13 UTC) #14
commit-bot: I haz the power
6 years ago (2014-11-24 17:36:15 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4af3ec98321a5f2f942dfcb52f9e329f18bbd7d7
Cr-Commit-Position: refs/heads/master@{#305440}

Powered by Google App Engine
This is Rietveld 408576698