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

Issue 1209033008: Restore App window's size and maximized state from before it was closed (Closed)

Created:
5 years, 5 months ago by xdai1
Modified:
5 years, 5 months ago
Reviewers:
stevenjb, benwells, oshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restore App window's size and maximized state from before it was closed in ChromeOS. BUG=chrome-os-partner:41173 TEST=Manually tested Committed: https://crrev.com/359f9268d678726225fff4bbae5a5045d163aef3 Cr-Commit-Position: refs/heads/master@{#338217}

Patch Set 1 : #

Patch Set 2 : Address Oshima's comment. #

Patch Set 3 : Add a test. #

Total comments: 3

Patch Set 4 : Address oshima's comments. #

Total comments: 10

Patch Set 5 : Address stevenjb@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 4 chunks +61 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
xdai1
Oshima, do we need to fix the restoration behavior for V1 app? Could you help ...
5 years, 5 months ago (2015-07-07 00:40:15 UTC) #3
oshima
On 2015/07/07 00:40:15, xdai1 wrote: > Oshima, do we need to fix the restoration behavior ...
5 years, 5 months ago (2015-07-07 21:28:04 UTC) #4
xdai1
On 2015/07/07 21:28:04, oshima wrote: > On 2015/07/07 00:40:15, xdai1 wrote: > > Oshima, do ...
5 years, 5 months ago (2015-07-08 00:27:37 UTC) #5
oshima
can you add a test?
5 years, 5 months ago (2015-07-08 17:20:36 UTC) #6
xdai1
On 2015/07/08 17:20:36, oshima wrote: > can you add a test? Addressed. Could you help ...
5 years, 5 months ago (2015-07-09 18:21:53 UTC) #7
oshima
lgtm with nits https://codereview.chromium.org/1209033008/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/1209033008/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1318 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1318: DCHECK(app_browser); you don't need DCHECK because ...
5 years, 5 months ago (2015-07-09 18:59:28 UTC) #8
xdai1
oshima@, thanks for your review, I've addressed your comments. +stevenjb@, could you help to review ...
5 years, 5 months ago (2015-07-09 19:24:46 UTC) #10
stevenjb
https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1317 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1317: } ASSERT_TRUE(app_browser); https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1322 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1322: app_browser->window()->Close(); test that the window ...
5 years, 5 months ago (2015-07-09 19:41:09 UTC) #11
stevenjb
https://codereview.chromium.org/1209033008/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/1209033008/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1318 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1318: DCHECK(app_browser); On 2015/07/09 18:59:28, oshima wrote: > you don't ...
5 years, 5 months ago (2015-07-09 19:42:24 UTC) #12
oshima
https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1317 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1317: } On 2015/07/09 19:41:09, stevenjb wrote: > ASSERT_TRUE(app_browser); ASSERT_TRUE ...
5 years, 5 months ago (2015-07-09 20:14:05 UTC) #13
stevenjb
On 2015/07/09 20:14:05, oshima wrote: > https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc > File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc > (right): > > https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1317 ...
5 years, 5 months ago (2015-07-09 21:13:51 UTC) #14
oshima
On 2015/07/09 21:13:51, stevenjb wrote: > On 2015/07/09 20:14:05, oshima wrote: > > > https://codereview.chromium.org/1209033008/diff/80001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ...
5 years, 5 months ago (2015-07-09 21:14:57 UTC) #15
xdai1
Thanks for the review and explanation about the differences between ASSERT_TURE and EXPECT_TRUE. It seems ...
5 years, 5 months ago (2015-07-09 22:46:46 UTC) #17
stevenjb
Thanks! lgtm
5 years, 5 months ago (2015-07-09 23:49:47 UTC) #18
benwells
lgtm
5 years, 5 months ago (2015-07-10 00:20:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209033008/100001
5 years, 5 months ago (2015-07-10 00:43:44 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 5 months ago (2015-07-10 02:40:27 UTC) #23
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 02:41:41 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/359f9268d678726225fff4bbae5a5045d163aef3
Cr-Commit-Position: refs/heads/master@{#338217}

Powered by Google App Engine
This is Rietveld 408576698