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

Issue 9722035: Support cycling through the window by F5. (Closed)

Created:
8 years, 9 months ago by Jun Mukai
Modified:
8 years, 9 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Support cycling through the window by F5. BUG=118132 TEST=unittest passed locally Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128165

Patch Set 1 #

Patch Set 2 : Remove an unnecessary declaration #

Total comments: 4

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : Use LauncherModel #

Patch Set 5 : cleanup #

Patch Set 6 : use ItemClicked #

Patch Set 7 : fix #

Total comments: 12

Patch Set 8 : fix #

Patch Set 9 : Use ItemClicked instead #

Patch Set 10 : fix #

Total comments: 4

Patch Set 11 : fix #

Patch Set 12 : add todo comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -19 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +73 lines, -11 lines 0 comments Download
M ash/accelerators/accelerator_table.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M ash/accelerators/accelerator_table.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Jun Mukai
8 years, 9 months ago (2012-03-19 08:12:48 UTC) #1
sky
https://chromiumcodereview.appspot.com/9722035/diff/7/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): https://chromiumcodereview.appspot.com/9722035/diff/7/ash/wm/window_cycle_controller.cc#newcode195 ash/wm/window_cycle_controller.cc:195: scoped_ptr<WindowListObserver> observer(new WindowListObserver); Why bother creating this here? Instead ...
8 years, 9 months ago (2012-03-19 15:26:51 UTC) #2
James Cook
On 2012/03/19 15:26:51, sky wrote: > https://chromiumcodereview.appspot.com/9722035/diff/7/ash/wm/window_cycle_controller.cc > File ash/wm/window_cycle_controller.cc (right): > > https://chromiumcodereview.appspot.com/9722035/diff/7/ash/wm/window_cycle_controller.cc#newcode195 > ...
8 years, 9 months ago (2012-03-19 15:55:33 UTC) #3
James Cook
On 2012/03/19 15:55:33, James Cook (Chromium) wrote: > On 2012/03/19 15:26:51, sky wrote: > > ...
8 years, 9 months ago (2012-03-19 17:24:19 UTC) #4
Jun Mukai
http://codereview.chromium.org/9722035/diff/7/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): http://codereview.chromium.org/9722035/diff/7/ash/wm/window_cycle_controller.cc#newcode195 ash/wm/window_cycle_controller.cc:195: scoped_ptr<WindowListObserver> observer(new WindowListObserver); On 2012/03/19 15:26:51, sky wrote: > ...
8 years, 9 months ago (2012-03-20 05:32:24 UTC) #5
James Cook
LGTM with optional nits. http://codereview.chromium.org/9722035/diff/6001/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): http://codereview.chromium.org/9722035/diff/6001/ash/wm/window_cycle_controller.cc#newcode195 ash/wm/window_cycle_controller.cc:195: window_list_observer_.reset(new WindowListObserver); nit: I think ...
8 years, 9 months ago (2012-03-20 15:37:30 UTC) #6
sky
I'm a bit confused now. John, could you clarify what behavior you are aiming for ...
8 years, 9 months ago (2012-03-20 15:38:40 UTC) #7
Mr4D (OOO till 08-26)
Yes, the change is in. (http://codereview.chromium.org/9677046) It should be easy to find out which index ...
8 years, 9 months ago (2012-03-20 23:35:43 UTC) #8
Jun Mukai
On 2012/03/20 23:35:43, Mr4D wrote: > Yes, the change is in. (http://codereview.chromium.org/9677046) > > It ...
8 years, 9 months ago (2012-03-21 01:26:32 UTC) #9
Jun Mukai
On 2012/03/21 01:26:32, Jun Mukai wrote: > On 2012/03/20 23:35:43, Mr4D wrote: > > Yes, ...
8 years, 9 months ago (2012-03-21 01:45:41 UTC) #10
Jun Mukai
On 2012/03/21 01:45:41, Jun Mukai wrote: > On 2012/03/21 01:26:32, Jun Mukai wrote: > > ...
8 years, 9 months ago (2012-03-21 04:17:59 UTC) #11
sky
I'm still confused then as to behavior you are trying to introduce. Could you expand ...
8 years, 9 months ago (2012-03-21 04:21:24 UTC) #12
Jun Mukai
As I chatted with sky, I uploaded a new patch to introduce this behavior using ...
8 years, 9 months ago (2012-03-21 08:13:26 UTC) #13
sky
I would like to see some tests for this, but you can do that later ...
8 years, 9 months ago (2012-03-21 14:34:32 UTC) #14
James Cook
I defer to Sky on the overall approach. I had a couple of optional suggestions. ...
8 years, 9 months ago (2012-03-21 15:32:27 UTC) #15
Jun Mukai
Not adding tests yet. To test the code, I'm feeling to move the logic somewhere ...
8 years, 9 months ago (2012-03-21 16:16:25 UTC) #16
Jun Mukai
On 2012/03/21 16:16:25, Jun Mukai wrote: > Not adding tests yet. To test the code, ...
8 years, 9 months ago (2012-03-21 16:26:47 UTC) #17
sky
I wouldn't put this in the model. Maybe launcher_navigator or something that is just a ...
8 years, 9 months ago (2012-03-21 16:31:57 UTC) #18
Jun Mukai
Thanks for the suggestion. For tests, I'm now thinking it's better to write them in ...
8 years, 9 months ago (2012-03-22 00:56:51 UTC) #19
James Cook
LGTM with optional suggestion. http://codereview.chromium.org/9722035/diff/20003/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): http://codereview.chromium.org/9722035/diff/20003/ash/accelerators/accelerator_controller.cc#newcode39 ash/accelerators/accelerator_controller.cc:39: window_cycle_controller()->HandleCycleWindow(direction, is_alt_down); This is not ...
8 years, 9 months ago (2012-03-22 03:05:27 UTC) #20
Jun Mukai
http://codereview.chromium.org/9722035/diff/20003/ash/accelerators/accelerator_controller.cc File ash/accelerators/accelerator_controller.cc (right): http://codereview.chromium.org/9722035/diff/20003/ash/accelerators/accelerator_controller.cc#newcode39 ash/accelerators/accelerator_controller.cc:39: window_cycle_controller()->HandleCycleWindow(direction, is_alt_down); On 2012/03/22 03:05:27, James Cook (Chromium) wrote: ...
8 years, 9 months ago (2012-03-22 03:27:05 UTC) #21
James Cook
Sure, leave a TODO and open a bug.
8 years, 9 months ago (2012-03-22 03:31:32 UTC) #22
sky
LGTM
8 years, 9 months ago (2012-03-22 03:32:09 UTC) #23
Jun Mukai
8 years, 9 months ago (2012-03-22 03:39:07 UTC) #24
On 2012/03/22 03:32:09, sky wrote:
> LGTM

Added the TODO comment.  will submit soon.

Powered by Google App Engine
This is Rietveld 408576698