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

Issue 2724163002: ash: Use enum for SessionController::CycleActiveUser (Closed)

Created:
3 years, 9 months ago by xiyuan
Modified:
3 years, 9 months ago
Reviewers:
Tom Sepez, James Cook
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Use enum for SessionController::CycleActiveUser - Move SessionStateDelegate::CycleUser to session_types.h as ash::CycleUserDirection; - Use enum for SessionController::CycleActiveUser and map it to ash::CycleUserDirection; BUG=648964 Review-Url: https://codereview.chromium.org/2724163002 Cr-Commit-Position: refs/heads/master@{#454414} Committed: https://chromium.googlesource.com/chromium/src/+/8f48ad0c7eda17f66bbc4a983f0412dc0f103ab1

Patch Set 1 #

Total comments: 2

Patch Set 2 : CycleUser -> CycleUserDirection #

Patch Set 3 : fix ash_shell_with_content compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -41 lines) Patch
M ash/common/accelerators/accelerator_controller.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ash/common/session/session_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/session/session_controller.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ash/common/session/session_state_delegate.h View 1 2 chunks +1 line, -7 lines 0 comments Download
M ash/common/test/test_session_state_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/test/test_session_state_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/public/cpp/session_types.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ash/public/interfaces/session_controller.mojom View 1 2 chunks +7 lines, -1 line 0 comments Download
M ash/public/interfaces/session_controller.typemap View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/public/interfaces/session_controller_traits.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/session_controller_client.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_controller_client.cc View 1 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos_unittest.cc View 1 3 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
xiyuan
jamescook@, please drive the review. tsepez@, session_controller.mojom and typemapping Thanks.
3 years, 9 months ago (2017-03-01 23:31:46 UTC) #4
Tom Sepez
lgtm
3 years, 9 months ago (2017-03-02 00:05:36 UTC) #5
James Cook
LGTM with a naming suggestion https://codereview.chromium.org/2724163002/diff/1/ash/public/cpp/session_types.h File ash/public/cpp/session_types.h (right): https://codereview.chromium.org/2724163002/diff/1/ash/public/cpp/session_types.h#newcode27 ash/public/cpp/session_types.h:27: enum class CycleUser { ...
3 years, 9 months ago (2017-03-02 00:13:34 UTC) #6
xiyuan
https://codereview.chromium.org/2724163002/diff/1/ash/public/cpp/session_types.h File ash/public/cpp/session_types.h (right): https://codereview.chromium.org/2724163002/diff/1/ash/public/cpp/session_types.h#newcode27 ash/public/cpp/session_types.h:27: enum class CycleUser { On 2017/03/02 00:13:34, James Cook ...
3 years, 9 months ago (2017-03-02 21:27:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2724163002/40001
3 years, 9 months ago (2017-03-02 22:38:08 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 22:45:20 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8f48ad0c7eda17f66bbc4a983f04...

Powered by Google App Engine
This is Rietveld 408576698