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

Issue 1126333005: Added metrics to track the time between task switches done via Alt+Tab and Alt+Shift+Tab. (Closed)

Created:
5 years, 7 months ago by bruthig
Modified:
5 years, 7 months ago
CC:
chromium-reviews, 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

Added metrics to track the time between task switches done via Alt+Tab and Alt+Shift+Tab. TEST=TaskSwitchMetricsRecorderTest.VerifyTaskSwitchesForWindowCycleControllerAreRecorded BUG=478946 Committed: https://crrev.com/c343193276d07ebb2b184a790e5c0f60d2f98cd3 Cr-Commit-Position: refs/heads/master@{#330099}

Patch Set 1 #

Patch Set 2 : Polish (updated docs, fixed alphabetic ordering, added include). #

Patch Set 3 : Fixed the branch that the diff is based off of. #

Patch Set 4 : Changed metric to only be recorded at Window cycle ends. #

Patch Set 5 : Fixed the branch that the diff is based off of. #

Patch Set 6 : Fixed test name. #

Patch Set 7 : Renamed kAcceleratorWindowCycle_histogram to kAcceleratorWindowCycleHistogramName. #

Total comments: 5

Patch Set 8 : Changed "window_list.size() > 0" to "window.empty()". #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -3 lines) Patch
M ash/metrics/task_switch_metrics_recorder.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M ash/metrics/task_switch_metrics_recorder.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M ash/metrics/task_switch_metrics_recorder_unittest.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_cycle_controller.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M ash/wm/window_cycle_controller.cc View 1 2 3 4 5 6 7 4 chunks +27 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
bruthig
NOTE: This review is based on the CL in-flight here: https://codereview.chromium.org/1133123003/ asvitkine@/rkaplow@: Please review changes ...
5 years, 7 months ago (2015-05-13 19:46:03 UTC) #2
bruthig
On 2015/05/13 19:46:03, bruthig wrote: > NOTE: This review is based on the CL in-flight ...
5 years, 7 months ago (2015-05-13 21:47:43 UTC) #3
bruthig
NOTE: This review is based on the CL in-flight here: https://codereview.chromium.org/1133123003/ This is now ready ...
5 years, 7 months ago (2015-05-14 00:25:46 UTC) #4
oshima
https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc#newcode91 ash/wm/window_cycle_controller.cc:91: active_window_before_window_cycle_ = GetActiveWindow(window_list); doesn't GetActiveWindow work here?
5 years, 7 months ago (2015-05-14 17:12:36 UTC) #5
bruthig
NOTE: This review is based on the CL in-flight here: https://codereview.chromium.org/1133123003/ I've responded to oshima@'s ...
5 years, 7 months ago (2015-05-14 17:49:45 UTC) #6
oshima
lgtm https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc#newcode91 ash/wm/window_cycle_controller.cc:91: active_window_before_window_cycle_ = GetActiveWindow(window_list); On 2015/05/14 17:49:44, bruthig wrote: ...
5 years, 7 months ago (2015-05-14 18:13:00 UTC) #7
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc#newcode24 ash/wm/window_cycle_controller.cc:24: return window_list.size() > 0 ? window_list[0] : nullptr; ...
5 years, 7 months ago (2015-05-14 20:42:14 UTC) #8
bruthig
Fixed asvitkine@'s nit in patch set 7. No need to re-review. https://codereview.chromium.org/1126333005/diff/120001/ash/wm/window_cycle_controller.cc File ash/wm/window_cycle_controller.cc (right): ...
5 years, 7 months ago (2015-05-14 22:06:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126333005/140001
5 years, 7 months ago (2015-05-14 22:07:30 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63772)
5 years, 7 months ago (2015-05-14 22:17:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126333005/140001
5 years, 7 months ago (2015-05-15 15:37:11 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-05-15 15:41:58 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 15:42:54 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c343193276d07ebb2b184a790e5c0f60d2f98cd3
Cr-Commit-Position: refs/heads/master@{#330099}

Powered by Google App Engine
This is Rietveld 408576698