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

Issue 601333002: ESC accelerator and consistent overview mode for Athena homecard (Closed)

Created:
6 years, 2 months ago by Greg Levin
Modified:
6 years, 2 months ago
CC:
chromium-reviews, oshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ESC accelerator and consistent overview mode for Athena homecard BUG=394895, 412547 Committed: https://crrev.com/5c1a9983eac59cf7df8f97d13153781dfdb8de51 Cr-Commit-Position: refs/heads/master@{#299789}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address reviews, update unit tests #

Total comments: 6

Patch Set 3 : Remove ToggleOverview() #

Total comments: 7

Patch Set 4 : Fix merge (OVERRIDE->override) #

Patch Set 5 : Merge with refactoring CL #

Total comments: 4

Patch Set 6 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -7 lines) Patch
M athena/home/home_card_impl.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M athena/home/home_card_unittest.cc View 1 2 3 4 1 chunk +22 lines, -1 line 0 comments Download
M athena/input/accelerator_manager_impl.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M athena/input/accelerator_manager_impl.cc View 1 2 3 4 5 4 chunks +25 lines, -1 line 0 comments Download
M athena/input/public/accelerator_manager.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M athena/wm/window_manager_impl.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M athena/wm/window_manager_unittest.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
Greg Levin
Here's a working draft. Please have a look. https://codereview.chromium.org/601333002/diff/1/athena/input/accelerator_manager_impl.cc File athena/input/accelerator_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/1/athena/input/accelerator_manager_impl.cc#newcode346 athena/input/accelerator_manager_impl.cc:346: : ...
6 years, 2 months ago (2014-09-25 18:38:50 UTC) #2
oshima
redirecting to mukai who knows home card better. https://codereview.chromium.org/601333002/diff/1/athena/input/accelerator_manager_impl.h File athena/input/accelerator_manager_impl.h (right): https://codereview.chromium.org/601333002/diff/1/athena/input/accelerator_manager_impl.h#newcode73 athena/input/accelerator_manager_impl.h:73: AcceleratorHandler* ...
6 years, 2 months ago (2014-09-25 21:39:43 UTC) #4
Jun Mukai
https://codereview.chromium.org/601333002/diff/1/athena/home/home_card_impl.cc File athena/home/home_card_impl.cc (right): https://codereview.chromium.org/601333002/diff/1/athena/home/home_card_impl.cc#newcode308 athena/home/home_card_impl.cc:308: void HomeCardImpl::SetStateAndOverview(HomeCard::State state) { This method name is unclear. ...
6 years, 2 months ago (2014-09-25 21:53:41 UTC) #5
Jun Mukai
https://codereview.chromium.org/601333002/diff/1/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/1/athena/wm/window_manager_impl.cc#newcode307 athena/wm/window_manager_impl.cc:307: bool WindowManagerImpl::IsCommandEnabled(int command_id) const { On 2014/09/25 21:53:41, Jun ...
6 years, 2 months ago (2014-09-25 22:37:46 UTC) #6
Greg Levin
I've address comments and updated unit tests. Please have another look! https://codereview.chromium.org/601333002/diff/1/athena/home/home_card_impl.cc File athena/home/home_card_impl.cc (right): ...
6 years, 2 months ago (2014-10-02 21:56:10 UTC) #9
Jun Mukai
https://codereview.chromium.org/601333002/diff/60001/athena/wm/public/window_manager.h File athena/wm/public/window_manager.h (right): https://codereview.chromium.org/601333002/diff/60001/athena/wm/public/window_manager.h#newcode26 athena/wm/public/window_manager.h:26: virtual void ToggleOverview() = 0; Can you remove ToggleOverview? ...
6 years, 2 months ago (2014-10-03 02:26:07 UTC) #10
Greg Levin
Please have another look. Thanks! https://codereview.chromium.org/601333002/diff/60001/athena/wm/public/window_manager.h File athena/wm/public/window_manager.h (right): https://codereview.chromium.org/601333002/diff/60001/athena/wm/public/window_manager.h#newcode26 athena/wm/public/window_manager.h:26: virtual void ToggleOverview() = ...
6 years, 2 months ago (2014-10-06 20:28:00 UTC) #11
Jun Mukai
cc: pkotwicz to notify the interface change of WindowManager. Also a nit comment. https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.h File ...
6 years, 2 months ago (2014-10-06 21:23:50 UTC) #12
pkotwicz
+oshima https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc#newcode221 athena/wm/window_manager_impl.cc:221: void WindowManagerImpl::SetInOverview(bool active) { +oshima for his opinion. ...
6 years, 2 months ago (2014-10-07 01:30:26 UTC) #14
oshima
https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc#newcode221 athena/wm/window_manager_impl.cc:221: void WindowManagerImpl::SetInOverview(bool active) { On 2014/10/07 01:30:26, pkotwicz wrote: ...
6 years, 2 months ago (2014-10-08 00:45:45 UTC) #15
Greg Levin
Fixed the OVERRIDE merge problem, saving the SetInOverview() refactor for subsequent CL. Please have another ...
6 years, 2 months ago (2014-10-08 18:21:14 UTC) #16
Jun Mukai
lgtm
6 years, 2 months ago (2014-10-08 19:43:17 UTC) #17
pkotwicz
https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/80001/athena/wm/window_manager_impl.cc#newcode221 athena/wm/window_manager_impl.cc:221: void WindowManagerImpl::SetInOverview(bool active) { I would recommend either: a) ...
6 years, 2 months ago (2014-10-08 19:45:25 UTC) #18
pkotwicz
6 years, 2 months ago (2014-10-08 19:45:27 UTC) #19
pkotwicz
Given that you have mukai@'s approval, I am fine with a subsequent CL
6 years, 2 months ago (2014-10-08 19:55:17 UTC) #20
Jun Mukai
On 2014/10/08 19:55:17, pkotwicz wrote: > Given that you have mukai@'s approval, I am fine ...
6 years, 2 months ago (2014-10-08 20:02:26 UTC) #21
Greg Levin
Peter: > How about splitting WindowManagerImpl::SetInOverview() into > WindowManagerImpl::EnterOverview() and > WindowManagerImpl::ExitOverview(aura::Window* to_activate) > > ...
6 years, 2 months ago (2014-10-09 16:47:05 UTC) #22
pkotwicz
glevin@, your proposal sounds good to me
6 years, 2 months ago (2014-10-09 17:25:08 UTC) #23
Greg Levin
Now that https://codereview.chromium.org/635223004 has refactored ToggleOverview() and SetInOverview() into Enter/ExitOverview(), here are the remaining changes ...
6 years, 2 months ago (2014-10-15 16:19:29 UTC) #24
pkotwicz
LGTM with nits https://codereview.chromium.org/601333002/diff/140001/athena/input/accelerator_manager_impl.cc File athena/input/accelerator_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/140001/athena/input/accelerator_manager_impl.cc#newcode351 athena/input/accelerator_manager_impl.cc:351: accelerators_.erase(iter); Can you just do accelerators_.erase(accelerator) ...
6 years, 2 months ago (2014-10-15 17:00:33 UTC) #25
Greg Levin
https://codereview.chromium.org/601333002/diff/140001/athena/input/accelerator_manager_impl.cc File athena/input/accelerator_manager_impl.cc (right): https://codereview.chromium.org/601333002/diff/140001/athena/input/accelerator_manager_impl.cc#newcode351 athena/input/accelerator_manager_impl.cc:351: accelerators_.erase(iter); On 2014/10/15 17:00:33, pkotwicz wrote: > Can you ...
6 years, 2 months ago (2014-10-15 20:56:13 UTC) #26
Mr4D (OOO till 08-26)
lgtm
6 years, 2 months ago (2014-10-15 21:15:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/601333002/160001
6 years, 2 months ago (2014-10-15 21:15:51 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:160001)
6 years, 2 months ago (2014-10-16 00:22:03 UTC) #31
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 00:23:05 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5c1a9983eac59cf7df8f97d13153781dfdb8de51
Cr-Commit-Position: refs/heads/master@{#299789}

Powered by Google App Engine
This is Rietveld 408576698