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

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed)

Created:
9 years, 1 month ago by jennb
Modified:
9 years, 1 month ago
CC:
chromium-reviews, jennb, prasadt, Erik does not do reviews, Dmitry Titov, dcheng, mihaip+watch_chromium.org, Aaron Boodman, jianli, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add extension API to change window show state using chrome.windows.update(). Valid states are normal, minimized and maximized. Actual behavior depends on OS and window type. BUG=32345 TEST=ExtensionApiTest.UpdateWindowShowState Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111071

Patch Set 1 #

Patch Set 2 : make test non-linux, generated crx docs #

Total comments: 10

Patch Set 3 : cr feedback #

Total comments: 1

Patch Set 4 : Change how error msg is set. #

Patch Set 5 : Synced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -6 lines) Patch
M chrome/browser/extensions/extension_tab_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tab_util.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_apitest.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 3 chunks +53 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module_constants.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module_constants.cc View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_test.cc View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/windows.html View 1 2 2 chunks +136 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/window_update/show_state/hello.html View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/window_update/show_state/manifest.json View 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/window_update/show_state/test.html View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jennb
ben for BrowserWindow API changes. asargent for extension API changes. Thanks, Jenn
9 years, 1 month ago (2011-11-18 01:04:53 UTC) #1
asargent_no_longer_on_chrome
http://codereview.chromium.org/8586045/diff/1001/chrome/browser/extensions/extension_tab_util.cc File chrome/browser/extensions/extension_tab_util.cc (right): http://codereview.chromium.org/8586045/diff/1001/chrome/browser/extensions/extension_tab_util.cc#newcode63 chrome/browser/extensions/extension_tab_util.cc:63: std::string ExtensionTabUtil::GetWindowShowStateText(const Browser*browser) { nit: need a space after ...
9 years, 1 month ago (2011-11-18 18:52:23 UTC) #2
jennb
http://codereview.chromium.org/8586045/diff/1001/chrome/browser/extensions/extension_tab_util.cc File chrome/browser/extensions/extension_tab_util.cc (right): http://codereview.chromium.org/8586045/diff/1001/chrome/browser/extensions/extension_tab_util.cc#newcode63 chrome/browser/extensions/extension_tab_util.cc:63: std::string ExtensionTabUtil::GetWindowShowStateText(const Browser*browser) { On 2011/11/18 18:52:24, Antony Sargent ...
9 years, 1 month ago (2011-11-19 01:44:33 UTC) #3
Ben Goodger (Google)
BrowserWindow changes LGTM.
9 years, 1 month ago (2011-11-21 16:55:43 UTC) #4
asargent_no_longer_on_chrome
lgtm Can you create a bug for the linux issue if there isn't one already? ...
9 years, 1 month ago (2011-11-21 19:04:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/8586045/23002
9 years, 1 month ago (2011-11-21 21:08:09 UTC) #6
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/cocoa/browser_window_cocoa.h. While running patch -p1 --forward --force; patching file chrome/browser/ui/cocoa/browser_window_cocoa.h ...
9 years, 1 month ago (2011-11-21 21:08:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/8586045/28001
9 years, 1 month ago (2011-11-21 21:47:32 UTC) #8
commit-bot: I haz the power
Try job failure for 8586045-28001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-21 22:44:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/8586045/28001
9 years, 1 month ago (2011-11-22 00:13:55 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 01:31:12 UTC) #11
Change committed as 111071

Powered by Google App Engine
This is Rietveld 408576698