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

Issue 1138253002: Add user action for changing the active window in Ash overview mode (Closed)

Created:
5 years, 7 months ago by tdanderson
Modified:
5 years, 7 months ago
Reviewers:
oshima, Mark P, bruthig
CC:
chromium-reviews, tdanderson+overview_chromium.org, kalyank, sadrul, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add user action for changing the active window in Ash overview mode Introduce the user action WindowSelector_ActiveWindowChanged to track the number of overview mode sessions in which the user selected a window that is different from the previously-active window. BUG=486900 TEST=WindowSelectorTest.ActiveWindowChangedUserAction* Committed: https://crrev.com/ec8ba66f8e43042b4115ef911955db19db62191f Cr-Commit-Position: refs/heads/master@{#329915}

Patch Set 1 #

Total comments: 9

Patch Set 2 : new approach #

Total comments: 3

Patch Set 3 : tests added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -7 lines) Patch
M ash/metrics/user_metrics_recorder.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/overview/window_grid.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/overview/window_selector.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 3 chunks +17 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_item.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_item.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 chunks +109 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
tdanderson
@oshima, can you please take a look?
5 years, 7 months ago (2015-05-12 16:02:42 UTC) #2
bruthig
Drive-by: Added some comments inline. https://codereview.chromium.org/1138253002/diff/1/ash/wm/overview/window_selector_controller.cc File ash/wm/overview/window_selector_controller.cc (right): https://codereview.chromium.org/1138253002/diff/1/ash/wm/overview/window_selector_controller.cc#newcode89 ash/wm/overview/window_selector_controller.cc:89: aura::Window* active = wm::GetActiveWindow(); ...
5 years, 7 months ago (2015-05-12 17:37:38 UTC) #4
oshima
https://codereview.chromium.org/1138253002/diff/1/ash/wm/overview/window_selector_controller.cc File ash/wm/overview/window_selector_controller.cc (right): https://codereview.chromium.org/1138253002/diff/1/ash/wm/overview/window_selector_controller.cc#newcode89 ash/wm/overview/window_selector_controller.cc:89: aura::Window* active = wm::GetActiveWindow(); On 2015/05/12 17:37:38, bruthig wrote: ...
5 years, 7 months ago (2015-05-12 20:25:13 UTC) #5
tdanderson
@oshima and @bruthig, I've completely changed the approach of this CL. Can you please take ...
5 years, 7 months ago (2015-05-14 01:36:32 UTC) #6
bruthig
lgtm Ready for your review, oshima@.
5 years, 7 months ago (2015-05-14 14:03:18 UTC) #7
oshima
lgtm with alternative approach. https://codereview.chromium.org/1138253002/diff/20001/ash/wm/overview/window_selector.cc File ash/wm/overview/window_selector.cc (right): https://codereview.chromium.org/1138253002/diff/20001/ash/wm/overview/window_selector.cc#newcode406 ash/wm/overview/window_selector.cc:406: } Alternatively, you can create ...
5 years, 7 months ago (2015-05-14 17:07:19 UTC) #8
tdanderson
oshima@, does this still LGTY with the tests I've added in patch set 3? mpearson@, ...
5 years, 7 months ago (2015-05-14 18:19:28 UTC) #10
Mark P
histograms.xml lgtm
5 years, 7 months ago (2015-05-14 18:25:13 UTC) #11
oshima
On 2015/05/14 18:25:13, Mark P wrote: > histograms.xml lgtm slgtm
5 years, 7 months ago (2015-05-14 19:55:42 UTC) #12
oshima
ugh. still lgtm
5 years, 7 months ago (2015-05-14 19:56:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138253002/40001
5 years, 7 months ago (2015-05-14 19:57:37 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-14 20:09:12 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 20:10:05 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec8ba66f8e43042b4115ef911955db19db62191f
Cr-Commit-Position: refs/heads/master@{#329915}

Powered by Google App Engine
This is Rietveld 408576698