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

Issue 9568045: Activate windows in topmost containers when a window is hidden. (Closed)

Created:
8 years, 9 months ago by flackr
Modified:
8 years, 9 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org, Ben Goodger (Google)
Visibility:
Public.

Description

Activate windows in higher containers if they exist. BUG=116239 TEST=Open a system modal dialog, lock and unlock the screen. The system modal dialog should get focus back. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124867

Patch Set 1 #

Total comments: 9

Patch Set 2 : Add tests and address review comments. #

Total comments: 4

Patch Set 3 : Rename container index and remove obsolete testing path. #

Total comments: 7

Patch Set 4 : Reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -39 lines) Patch
M ash/wm/activation_controller.h View 1 2 2 chunks +6 lines, -10 lines 0 comments Download
M ash/wm/activation_controller.cc View 1 2 3 4 chunks +54 lines, -23 lines 0 comments Download
M ash/wm/activation_controller_unittest.cc View 1 7 chunks +67 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
flackr
Hi Scott, Can you take a look at this. This is making me wonder if ...
8 years, 9 months ago (2012-03-01 23:51:55 UTC) #1
sky
https://chromiumcodereview.appspot.com/9568045/diff/1/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/1/ash/wm/activation_controller.cc#newcode26 ash/wm/activation_controller.cc:26: const int kWindowContainersCount = 5; Can't you use arraysize? ...
8 years, 9 months ago (2012-03-02 00:20:25 UTC) #2
flackr
I've added some tests, and addressed your comments. Please take another look. https://chromiumcodereview.appspot.com/9568045/diff/1/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc ...
8 years, 9 months ago (2012-03-02 18:09:28 UTC) #3
flackr
https://chromiumcodereview.appspot.com/9568045/diff/1/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/1/ash/wm/activation_controller.cc#newcode222 ash/wm/activation_controller.cc:222: if (default_container_for_test_) { On 2012/03/02 18:09:28, flackr wrote: > ...
8 years, 9 months ago (2012-03-02 18:12:22 UTC) #4
oshima
https://chromiumcodereview.appspot.com/9568045/diff/8001/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/8001/ash/wm/activation_controller.cc#newcode225 ash/wm/activation_controller.cc:225: if (default_container_for_test_) { I know this isn't the scope ...
8 years, 9 months ago (2012-03-02 18:25:38 UTC) #5
flackr
https://chromiumcodereview.appspot.com/9568045/diff/8001/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/8001/ash/wm/activation_controller.cc#newcode225 ash/wm/activation_controller.cc:225: if (default_container_for_test_) { On 2012/03/02 18:25:38, oshima wrote: > ...
8 years, 9 months ago (2012-03-02 18:58:40 UTC) #6
oshima
https://chromiumcodereview.appspot.com/9568045/diff/6005/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/6005/ash/wm/activation_controller.cc#newcode51 ash/wm/activation_controller.cc:51: } I think you can use std::find, although it ...
8 years, 9 months ago (2012-03-02 19:08:40 UTC) #7
flackr
https://chromiumcodereview.appspot.com/9568045/diff/6005/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): https://chromiumcodereview.appspot.com/9568045/diff/6005/ash/wm/activation_controller.cc#newcode51 ash/wm/activation_controller.cc:51: } On 2012/03/02 19:08:40, oshima wrote: > I think ...
8 years, 9 months ago (2012-03-02 19:28:37 UTC) #8
sky
LGTM
8 years, 9 months ago (2012-03-02 20:45:06 UTC) #9
oshima
8 years, 9 months ago (2012-03-02 20:46:40 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698