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

Issue 11362003: Make app windows restore position even if bounds are explicitly specified. (Closed)

Created:
8 years, 1 month ago by jeremya
Modified:
8 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, jeremya+watch_chromium.org, chromium-apps-reviews_chromium.org, tapted, koz (OOO until 15th September), benwells
Visibility:
Public.

Description

Make app windows restore position even if bounds are explicitly specified. Previously, if bounds were specified, the window's bounds would not be restored. This change essentially turns left/top/width/height into defaultLeft/defaultTop/defaultWidth/defaultHeight. In order to create a window with an ID at a particular location, create it hidden and move it into position before showing it. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168159

Patch Set 1 #

Total comments: 3

Patch Set 2 : comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase again #

Patch Set 5 : re-rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -45 lines) Patch
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 2 3 2 chunks +10 lines, -16 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 chunks +7 lines, -14 lines 0 comments Download
M chrome/common/extensions/api/app_window.idl View 1 2 3 2 chunks +17 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jeremya
8 years, 1 month ago (2012-11-11 23:57:05 UTC) #1
Marijn Kruisselbrink
LGTM http://codereview.chromium.org/11362003/diff/1/chrome/browser/extensions/api/app_window/app_window_api.cc File chrome/browser/extensions/api/app_window/app_window_api.cc (right): http://codereview.chromium.org/11362003/diff/1/chrome/browser/extensions/api/app_window/app_window_api.cc#newcode126 chrome/browser/extensions/api/app_window/app_window_api.cc:126: if (options->width.get() || options->height.get()) { nit: With the ...
8 years, 1 month ago (2012-11-12 17:56:50 UTC) #2
koz (OOO until 15th September)
lgtm http://codereview.chromium.org/11362003/diff/1/chrome/common/extensions/api/app_window.idl File chrome/common/extensions/api/app_window.idl (right): http://codereview.chromium.org/11362003/diff/1/chrome/common/extensions/api/app_window.idl#newcode101 chrome/common/extensions/api/app_window.idl:101: // opening of a window with the same ...
8 years, 1 month ago (2012-11-12 22:29:32 UTC) #3
jeremya
All done :)
8 years, 1 month ago (2012-11-12 23:11:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/11362003/7
8 years, 1 month ago (2012-11-12 23:13:03 UTC) #5
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/extensions/shell_window.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-12 23:13:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/11362003/7002
8 years, 1 month ago (2012-11-12 23:19:33 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/extensions/shell_window.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-12 23:19:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/11362003/12001
8 years, 1 month ago (2012-11-16 00:08:43 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 1 month ago (2012-11-16 02:24:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/11362003/15003
8 years, 1 month ago (2012-11-16 02:50:39 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-16 07:45:37 UTC) #12
Change committed as 168159

Powered by Google App Engine
This is Rietveld 408576698