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

Issue 251103005: Added arrow key navigation to Overview Mode (Closed)

Created:
6 years, 7 months ago by Nina
Modified:
6 years, 6 months ago
Reviewers:
flackr, tdanderson
CC:
chromium-reviews, tdanderson+overview_chromium.org, kalyank, sadrul, ben+ash_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Added arrow key navigation to Overview Mode This change makes possible to use the arrow keys to move in Overview Mode across windows. It also raises an a11y event to notify a disabled user of the selection on the window. However, since currently there's no support for that, we fake the labels to appear as windows for the a11y framework. Multi monitor is supported. More tests to follow in a future patch. TEST=WindowSelectorTest.BasicArrowKeyNavigation BUG=291151 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275489

Patch Set 1 #

Patch Set 2 : Rebase with latest changes, test stub (don't look into that yet!) #

Total comments: 34

Patch Set 3 : Fixed issues #

Patch Set 4 : Starting again from design doc #

Total comments: 30

Patch Set 5 : Added reposition animation, shortened movement time, fixed what Terry commented. #

Total comments: 54

Patch Set 6 : Addressed Rob's comments #

Patch Set 7 : Simplified RemoveWindow() #

Total comments: 46

Patch Set 8 : Checked Rob's comments #

Patch Set 9 : Fixed a bug with panels and changing windows bounds #

Total comments: 41

Patch Set 10 : Fixed Rob's comments (except the test). #

Patch Set 11 : Replaced unittest by a better one, fixed lints, minor tweaks. #

Total comments: 18

Patch Set 12 : Added tween to the selection widget animation #

Total comments: 23

Patch Set 13 : Fixed rob's comments, clang warnings. #

Total comments: 7

Patch Set 14 : Fixed last nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+829 lines, -269 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/overview/transparent_activate_window_button.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/overview/transparent_activate_window_button.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -1 line 0 comments Download
A ash/wm/overview/window_grid.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +135 lines, -0 lines 0 comments Download
A ash/wm/overview/window_grid.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +439 lines, -0 lines 0 comments Download
M ash/wm/overview/window_selector.h View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +22 lines, -15 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +116 lines, -248 lines 0 comments Download
M ash/wm/overview/window_selector_item.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/overview/window_selector_item.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +96 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Nina
Hi Terry, could you please look at this CL? I'm working on the tests BTW.
6 years, 7 months ago (2014-04-28 14:30:32 UTC) #1
tdanderson
On 2014/04/28 14:30:32, nsatragno wrote: > Hi Terry, could you please look at this CL? ...
6 years, 7 months ago (2014-04-28 22:29:05 UTC) #2
tdanderson
Nico, please see my first round of comments below. In the next review I'll take ...
6 years, 7 months ago (2014-04-29 14:46:27 UTC) #3
Nina
Code updated https://chromiumcodereview.appspot.com/251103005/diff/10001/ash/wm/overview/window_overview.cc File ash/wm/overview/window_overview.cc (right): https://chromiumcodereview.appspot.com/251103005/diff/10001/ash/wm/overview/window_overview.cc#newcode131 ash/wm/overview/window_overview.cc:131: main_grid_.root_window = secondary_grid_.root_window = NULL; On 2014/04/29 ...
6 years, 7 months ago (2014-04-29 18:31:40 UTC) #4
Nina
Hey Terry, mind giving this revamped patch a first look? Please bear in mind that ...
6 years, 7 months ago (2014-05-27 22:12:00 UTC) #5
tdanderson
Hey Nico, please see my comments below. https://codereview.chromium.org/251103005/diff/50001/ash/wm/overview/window_grid.h File ash/wm/overview/window_grid.h (right): https://codereview.chromium.org/251103005/diff/50001/ash/wm/overview/window_grid.h#newcode37 ash/wm/overview/window_grid.h:37: // Positions ...
6 years, 6 months ago (2014-05-28 16:01:19 UTC) #6
Nina
Terry, please see my updated patch. Thanks! https://codereview.chromium.org/251103005/diff/50001/ash/wm/overview/window_grid.h File ash/wm/overview/window_grid.h (right): https://codereview.chromium.org/251103005/diff/50001/ash/wm/overview/window_grid.h#newcode37 ash/wm/overview/window_grid.h:37: // Positions ...
6 years, 6 months ago (2014-05-29 17:12:24 UTC) #7
tdanderson
LGTM, thanks for addressing my comments. Please send to Rob for a closer look when ...
6 years, 6 months ago (2014-05-29 17:23:19 UTC) #8
Nina
Rob, please see this patch, bearing in mind that it still lacks tests and the ...
6 years, 6 months ago (2014-05-29 17:26:16 UTC) #9
flackr
https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc#newcode108 ash/wm/overview/window_grid.cc:108: gfx::Vector2d GetVectorFor(WindowSelector::Direction direction, nit: The name could better explain ...
6 years, 6 months ago (2014-05-29 20:04:24 UTC) #10
Nina
Rob, please see my comments. Some changes were fairly substantial, but I think I was ...
6 years, 6 months ago (2014-06-02 22:04:37 UTC) #11
flackr
https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc#newcode276 ash/wm/overview/window_grid.cc:276: InitSelectionWidget(direction); On 2014/06/02 22:04:38, Nicolás wrote: > On 2014/05/29 ...
6 years, 6 months ago (2014-06-03 17:12:06 UTC) #12
Nina
Hi Rob, can you take another look at the patch? https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/70001/ash/wm/overview/window_grid.cc#newcode276 ...
6 years, 6 months ago (2014-06-04 20:21:12 UTC) #13
flackr
https://codereview.chromium.org/251103005/diff/110001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/110001/ash/wm/overview/window_grid.cc#newcode337 ash/wm/overview/window_grid.cc:337: if (!(selected_index_ + num_columns_ >= window_list_.size())) { On 2014/06/04 ...
6 years, 6 months ago (2014-06-04 22:25:06 UTC) #14
Nina
Rob, can you please see my updated patch? Thanks! https://codereview.chromium.org/251103005/diff/110001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/110001/ash/wm/overview/window_grid.cc#newcode337 ash/wm/overview/window_grid.cc:337: ...
6 years, 6 months ago (2014-06-05 18:04:36 UTC) #15
flackr
Sorry for the comments across 3 patchsets. It looks great, just a few nit like ...
6 years, 6 months ago (2014-06-05 20:16:33 UTC) #16
Nina
I think I flash-fixed everything. Please give it (another) look. https://codereview.chromium.org/251103005/diff/150001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): https://codereview.chromium.org/251103005/diff/150001/ash/wm/overview/window_selector.cc#newcode123 ...
6 years, 6 months ago (2014-06-05 22:06:24 UTC) #17
flackr
LGTM with nits. https://codereview.chromium.org/251103005/diff/230001/ash/wm/overview/window_grid.cc File ash/wm/overview/window_grid.cc (right): https://codereview.chromium.org/251103005/diff/230001/ash/wm/overview/window_grid.cc#newcode319 ash/wm/overview/window_grid.cc:319: if (selection_widget_) { nit: match indenting. ...
6 years, 6 months ago (2014-06-06 01:03:02 UTC) #18
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 6 months ago (2014-06-06 15:19:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nsatragno@chromium.org/251103005/250001
6 years, 6 months ago (2014-06-06 15:20:10 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 18:52:54 UTC) #21
Message was sent while issue was closed.
Change committed as 275489

Powered by Google App Engine
This is Rietveld 408576698