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

Issue 19945004: Modal window in user session not blocks user adding screen. (Closed)

Created:
7 years, 5 months ago by dzhioev (left Google)
Modified:
7 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, Nikita (slow)
Visibility:
Public.

Description

Modal window in user session not blocks user adding screen. Added IsUserSessionBlocked method indicating whether user session blocked by some overlying UI (it can be lock/login/user adding UI). Replaced IsScreenLocked() [|| IsActiveUserSessionStarted()] with IsUserSessionBlocked() in several places in order to keep focus and user input in locked container. BUG=none TEST=ash_unittests R=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213524

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added break into switch case. #

Patch Set 3 : Fixed compilation for win. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -92 lines) Patch
M ash/root_window_controller.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 2 chunks +59 lines, -15 lines 0 comments Download
M ash/session_state_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/session_state_delegate_stub.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/session_state_delegate_stub.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/test/ash_test_base.h View 2 chunks +14 lines, -0 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M ash/test/test_session_state_delegate.h View 3 chunks +8 lines, -0 lines 0 comments Download
M ash/test/test_session_state_delegate.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M ash/wm/event_client_impl.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ash/wm/stacking_controller.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 3 chunks +2 lines, -9 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 2 chunks +60 lines, -55 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dzhioev (left Google)
7 years, 5 months ago (2013-07-22 20:16:08 UTC) #1
sky
https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h File ash/session_state_delegate.h (right): https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h#newcode62 ash/session_state_delegate.h:62: virtual bool IsUserSessionBlocked() const = 0; Blocked is misleading ...
7 years, 5 months ago (2013-07-22 21:19:06 UTC) #2
dzhioev (left Google)
https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h File ash/session_state_delegate.h (right): https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h#newcode62 ash/session_state_delegate.h:62: virtual bool IsUserSessionBlocked() const = 0; On 2013/07/22 21:19:06, ...
7 years, 5 months ago (2013-07-23 14:06:01 UTC) #3
sky
LGTM https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h File ash/session_state_delegate.h (right): https://codereview.chromium.org/19945004/diff/1/ash/session_state_delegate.h#newcode62 ash/session_state_delegate.h:62: virtual bool IsUserSessionBlocked() const = 0; On 2013/07/23 ...
7 years, 5 months ago (2013-07-23 14:34:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/19945004/1
7 years, 5 months ago (2013-07-23 14:38:34 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=138410
7 years, 5 months ago (2013-07-23 15:35:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/19945004/24001
7 years, 5 months ago (2013-07-23 16:44:37 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-23 18:05:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/19945004/43001
7 years, 5 months ago (2013-07-24 16:57:55 UTC) #9
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 21:49:36 UTC) #10
Message was sent while issue was closed.
Change committed as 213524

Powered by Google App Engine
This is Rietveld 408576698