DescriptionAdded UMA statistics for changing the active window via click or touch events.
TEST=TaskSwitchMetricsRecorderTest.VerifyTaskSwitchesForDesktopAreRecorded
TEST=DesktopTaskSwitchMetricRecorderTest.ActivatePositionableWindowWhenNullWindowWasActivatedLast
TEST=DesktopTaskSwitchMetricRecorderTest.ActivatePositionableWindowWhenADifferentPositionableWindowWasActivatedLast
TEST=DesktopTaskSwitchMetricRecorderTest.ActivatePositionableWindowWhenTheSamePositionableWindowWasActivatedLast
TEST=DesktopTaskSwitchMetricRecorderTest.ActivatePositionableWindowWhenANonPositionableWindowWasActivatedLast
TEST=DesktopTaskSwitchMetricRecorderTest.ActivateNonPositionableWindowBetweenTwoPositionableWindowActivations
TEST=DesktopTaskSwitchMetricRecorderTest.ActivateNullWindow
TEST=DesktopTaskSwitchMetricRecorderTest.ActivateNonPositionableWindow
TEST=DesktopTaskSwitchMetricRecorderTest.ActivatePositionableWindowWithNonInputEventReason
TEST=DesktopTaskSwitchMetricRecorderWithShellIntegrationTest.ActivatePositionableWindowWithInputEvent
TEST=DesktopTaskSwitchMetricRecorderWithShellIntegrationTest.ActivatePositionableWindowWithNonInputEvent
BUG=489813, 489814
Committed: https://crrev.com/9a312138c831f3203ddfa6dff5650bf663acb44f
Cr-Commit-Position: refs/heads/master@{#333104}
Patch Set 1 #
Total comments: 16
Patch Set 2 : Reworked approach to use the an ActivationChangeObserver. #
Total comments: 2
Patch Set 3 : Polish and added unit tests. #
Total comments: 1
Patch Set 4 : Removed if(layer()) checks from window.cc #Patch Set 5 : Split out ActivationReason work into a separate CL. #Patch Set 6 : Added the missed desktop_task_switch_metric_recorder files. #
Total comments: 13
Patch Set 7 : Addressed comments from patch set 6. #
Total comments: 1
Patch Set 8 : Fixed minor formatting nit. #Patch Set 9 : Fixed the branch that the CL was based on. #
Total comments: 1
Messages
Total messages: 29 (6 generated)
|