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

Issue 8969011: Added populate parameter to chrome.windows.get, chrome.windows.getCurrent, (Closed)

Created:
9 years ago by Matt Tytel
Modified:
9 years ago
CC:
chromium-reviews, jstritar+watch_chromium.org, pam+watch_chromium.org, mihaip+watch_chromium.org
Visibility:
Public.

Description

Added populate parameter to chrome.windows.get, chrome.windows.getCurrent, chrome.windows.getLastFocused BUG=53516 TEST=Run chrome.windows.get(id, {"populate":true}, fun) from an extension Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114963

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -39 lines) Patch
M chrome/browser/extensions/extension_function_test_utils.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_test_utils.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 4 5 6 18 chunks +56 lines, -23 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_test.cc View 1 2 3 4 5 6 10 chunks +139 lines, -11 lines 0 comments Download
M chrome/common/extensions/api/windows.json View 1 2 3 4 5 6 7 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/schema_generated_bindings.js View 1 2 3 4 5 6 2 chunks +64 lines, -5 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
Matt Tytel
9 years ago (2011-12-16 19:04:59 UTC) #1
Aaron Boodman
Sigh, sadly, I don't think it's quite so simple. We need to support extensions that ...
9 years ago (2011-12-16 20:41:24 UTC) #2
Matt Tytel
I was just realizing this. I think I may have accidentally tested the old functionality ...
9 years ago (2011-12-16 21:20:31 UTC) #3
Matt Tytel
Well, I see what the situation is after looking at bug 29215. I've uploaded the ...
9 years ago (2011-12-16 23:54:27 UTC) #4
Aaron Boodman
http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_module.cc File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_module.cc#newcode194 chrome/browser/extensions/extension_tabs_module.cc:194: DictionaryValue* args; Always initialize primitives (to NULL in this ...
9 years ago (2011-12-17 07:12:58 UTC) #5
Matt Tytel
http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_test.cc File chrome/browser/extensions/extension_tabs_test.cc (right): http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_test.cc#newcode140 chrome/browser/extensions/extension_tabs_test.cc:140: // id should match the window that was passed ...
9 years ago (2011-12-17 07:43:32 UTC) #6
Aaron Boodman
http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_test.cc File chrome/browser/extensions/extension_tabs_test.cc (right): http://codereview.chromium.org/8969011/diff/11001/chrome/browser/extensions/extension_tabs_test.cc#newcode140 chrome/browser/extensions/extension_tabs_test.cc:140: // id should match the window that was passed ...
9 years ago (2011-12-17 08:02:38 UTC) #7
Matt Tytel
The changes you have requested are complete. What do you think?
9 years ago (2011-12-19 02:26:03 UTC) #8
Matt Tytel
9 years ago (2011-12-19 02:26:14 UTC) #9
Aaron Boodman
LGTM - nice work. http://codereview.chromium.org/8969011/diff/18001/chrome/browser/extensions/extension_tabs_module.cc File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/8969011/diff/18001/chrome/browser/extensions/extension_tabs_module.cc#newcode189 chrome/browser/extensions/extension_tabs_module.cc:189: int window_id = -1; Thanks ...
9 years ago (2011-12-19 02:40:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/8969011/18001
9 years ago (2011-12-19 02:40:11 UTC) #11
commit-bot: I haz the power
Can't apply patch for file chrome/common/extensions/api/extension_api.json. While running patch -p0 --forward --force; patching file chrome/common/extensions/api/extension_api.json ...
9 years ago (2011-12-19 02:40:14 UTC) #12
Aaron Boodman
http://bit.ly/5gsQlt Try syncing, resolving, and uploading a new patch. - a On Sun, Dec 18, ...
9 years ago (2011-12-19 02:48:55 UTC) #13
Matt Tytel
aw man..
9 years ago (2011-12-19 02:59:54 UTC) #14
Matt Tytel
On 2011/12/19 02:59:54, mtytel wrote: > aw man.. Oop, ignore this one, file was renamed.
9 years ago (2011-12-19 03:03:26 UTC) #15
clintstaley_gmail.com
Aaron, Matt would *love* to see this thing landed tonight, but he is taking off ...
9 years ago (2011-12-19 03:12:42 UTC) #16
Matt Tytel
This code is ready for another go. Can it still go through tonight?
9 years ago (2011-12-19 03:44:10 UTC) #17
Matt Tytel
9 years ago (2011-12-19 03:44:18 UTC) #18
Aaron Boodman
I'm landing these w/ the commit queue. It's OK to land changes this way if ...
9 years ago (2011-12-19 05:07:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/8969011/22004
9 years ago (2011-12-19 05:07:21 UTC) #20
commit-bot: I haz the power
Can't apply patch for file chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp.zip. While running patch -p0 --forward --force; patching file chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp.zip ...
9 years ago (2011-12-19 05:07:25 UTC) #21
Aaron Boodman
Oh, it's because the patch contains binary files. Can't land those via CQ. Will try ...
9 years ago (2011-12-19 05:08:29 UTC) #22
Matt Tytel
I don't get updates on the normal ones do I?
9 years ago (2011-12-19 05:15:37 UTC) #23
Aaron Boodman
Hm, I'm not even sure how to land a change like this. None of the ...
9 years ago (2011-12-19 05:20:57 UTC) #24
Matt Tytel
No more generated files.
9 years ago (2011-12-19 05:39:09 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/8969011/24005
9 years ago (2011-12-19 05:39:22 UTC) #26
Aaron Boodman
http://codereview.chromium.org/8969011/diff/24005/chrome/browser/extensions/extension_tabs_test.cc File chrome/browser/extensions/extension_tabs_test.cc (right): http://codereview.chromium.org/8969011/diff/24005/chrome/browser/extensions/extension_tabs_test.cc#newcode197 chrome/browser/extensions/extension_tabs_test.cc:197: for (uint i = 0; i < NUM_WINDOWS - ...
9 years ago (2011-12-19 06:09:03 UTC) #27
Matt Tytel
uint -> size_t And I'm ready for another go.
9 years ago (2011-12-19 06:22:40 UTC) #28
Matt Tytel
Deleting the wrong file from a change list makes a bad first impression..
9 years ago (2011-12-19 06:53:15 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/8969011/27012
9 years ago (2011-12-19 06:56:04 UTC) #30
commit-bot: I haz the power
9 years ago (2011-12-19 08:51:19 UTC) #31
Change committed as 114963

Powered by Google App Engine
This is Rietveld 408576698