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

Issue 20415002: Add window overview mode behind --ash-enable-overview-mode flag to F5 key. (Closed)

Created:
7 years, 5 months ago by flackr
Modified:
7 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add window overview mode behind --ash-enable-overview-mode flag to F5 key. BUG=263477 TEST=WindowSelector.* TEST=Enable --ash-enable-overview-mode and open several windows. Press F5 ([ ]] key) and you should see overview of all windows. Click a win dow to activate it. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215037

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move window selector controller to a separate class. #

Patch Set 3 : Separate MRU window tracking and use from both WindowCycleController and WindowSelectorController. #

Patch Set 4 : Use MRU list for overview. #

Patch Set 5 : Remove MRU window tracking refactoring from CL. #

Total comments: 25

Patch Set 6 : Merge with MruWindowTracker CL and address comments. #

Patch Set 7 : Remove unnecessary change in window_animations.h. #

Patch Set 8 : Remove implicit cast to bool. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -1 line) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 3 chunks +18 lines, -1 line 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M ash/ash_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
A ash/wm/window_selector.h View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A ash/wm/window_selector.cc View 1 2 3 4 5 1 chunk +216 lines, -0 lines 0 comments Download
A ash/wm/window_selector_controller.h View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
A ash/wm/window_selector_controller.cc View 1 2 3 4 5 6 7 1 chunk +61 lines, -0 lines 0 comments Download
A ash/wm/window_selector_delegate.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A ash/wm/window_selector_unittest.cc View 1 2 3 4 5 1 chunk +202 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
flackr
This adds a window overview mode behind a flag. Can you take a look? Thanks!
7 years, 5 months ago (2013-07-25 18:42:59 UTC) #1
sky
https://codereview.chromium.org/20415002/diff/1/ash/wm/window_cycle_controller.h File ash/wm/window_cycle_controller.h (right): https://codereview.chromium.org/20415002/diff/1/ash/wm/window_cycle_controller.h#newcode45 ash/wm/window_cycle_controller.h:45: public WindowSelectorDelegate { Is there a reason for baking ...
7 years, 5 months ago (2013-07-25 21:18:36 UTC) #2
flackr
https://codereview.chromium.org/20415002/diff/1/ash/wm/window_cycle_controller.h File ash/wm/window_cycle_controller.h (right): https://codereview.chromium.org/20415002/diff/1/ash/wm/window_cycle_controller.h#newcode45 ash/wm/window_cycle_controller.h:45: public WindowSelectorDelegate { On 2013/07/25 21:18:37, sky wrote: > ...
7 years, 5 months ago (2013-07-25 21:34:33 UTC) #3
flackr
I refactored out the MRU window tracking in WindowCycleController and use it from both WindowCycleController ...
7 years, 5 months ago (2013-07-26 15:24:27 UTC) #4
flackr
I could use WindowCycleController::BuildWindowList from WindowSelector in this CL and save the somewhat large refactoring ...
7 years, 5 months ago (2013-07-26 15:28:28 UTC) #5
sky
Any chance you could do the refactoring now and in a separate patch?
7 years, 5 months ago (2013-07-26 19:08:18 UTC) #6
flackr
This can be done as an orthogonal change to the refactor while still not being ...
7 years, 4 months ago (2013-07-29 15:38:37 UTC) #7
sky
20708005 is close. Should I wait for it to land before reviewing? I'm equally fine ...
7 years, 4 months ago (2013-07-29 16:41:04 UTC) #8
flackr
On 2013/07/29 16:41:04, sky wrote: > 20708005 is close. Should I wait for it to ...
7 years, 4 months ago (2013-07-30 04:21:39 UTC) #9
sky
https://codereview.chromium.org/20415002/diff/21001/ash/wm/window_selector.cc File ash/wm/window_selector.cc (right): https://codereview.chromium.org/20415002/diff/21001/ash/wm/window_selector.cc#newcode39 ash/wm/window_selector.cc:39: std::min((float)target_bounds.width() / bounds.width(), static_cast https://codereview.chromium.org/20415002/diff/21001/ash/wm/window_selector.cc#newcode48 ash/wm/window_selector.cc:48: window->layer()->SetTransform(transform); Why go ...
7 years, 4 months ago (2013-07-30 16:39:19 UTC) #10
flackr
I found out that minimized windows weren't getting events because they thought they were still ...
7 years, 4 months ago (2013-07-31 20:06:12 UTC) #11
sky
LGTM
7 years, 4 months ago (2013-07-31 23:15:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/20415002/37001
7 years, 4 months ago (2013-08-01 00:17:39 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-01 02:10:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/20415002/63001
7 years, 4 months ago (2013-08-01 12:13:35 UTC) #15
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 15:14:28 UTC) #16
Message was sent while issue was closed.
Change committed as 215037

Powered by Google App Engine
This is Rietveld 408576698