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

Issue 9181012: Don't activate a window if screen is locked. (Closed)

Created:
8 years, 11 months ago by oshima
Modified:
8 years, 11 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

* Don't activate a window if screen is locked. * StopEventsPropagation should check window visibility. * Changed IsScreenLocked to use the same logic as CanFocus. BUG=none TEST=new test case is added to window_unittests.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117600

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : updated comment #

Patch Set 4 : . #

Patch Set 5 : reduced the scope #

Total comments: 8

Patch Set 6 : addressed comment #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -30 lines) Patch
M ash/shell.cc View 1 1 chunk +1 line, -9 lines 0 comments Download
M ash/wm/activation_controller.cc View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M ui/aura/root_window.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/root_window.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/window.h View 1 2 3 4 5 4 chunks +11 lines, -4 lines 0 comments Download
M ui/aura/window.cc View 1 2 3 4 chunks +30 lines, -16 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 4 5 6 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
oshima
8 years, 11 months ago (2012-01-12 00:14:36 UTC) #1
sky
Ben ran into a similar issue with trying to do a fade animation when you ...
8 years, 11 months ago (2012-01-12 01:05:14 UTC) #2
oshima
Reduced the scope of this CL just to fix window activation issue when screen is ...
8 years, 11 months ago (2012-01-12 20:46:10 UTC) #3
sky
http://codereview.chromium.org/9181012/diff/11046/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): http://codereview.chromium.org/9181012/diff/11046/ash/wm/activation_controller.cc#newcode43 ash/wm/activation_controller.cc:43: window->CanReceiveEvents() && One downside of this is that if ...
8 years, 11 months ago (2012-01-12 21:11:36 UTC) #4
oshima
http://codereview.chromium.org/9181012/diff/11046/ash/wm/activation_controller.cc File ash/wm/activation_controller.cc (right): http://codereview.chromium.org/9181012/diff/11046/ash/wm/activation_controller.cc#newcode43 ash/wm/activation_controller.cc:43: window->CanReceiveEvents() && On 2012/01/12 21:11:36, sky wrote: > One ...
8 years, 11 months ago (2012-01-12 21:32:50 UTC) #5
sky
LGTM
8 years, 11 months ago (2012-01-12 22:06:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/9181012/10014
8 years, 11 months ago (2012-01-13 01:29:02 UTC) #7
commit-bot: I haz the power
8 years, 11 months ago (2012-01-13 03:15:44 UTC) #8
Change committed as 117600

Powered by Google App Engine
This is Rietveld 408576698