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

Issue 1013003002: Fix for menus blocking user activity detection (Retry). (Closed)

Created:
5 years, 9 months ago by afakhry
Modified:
5 years, 9 months ago
Reviewers:
sadrul, spang
CC:
chromium-reviews, ozone-reviews_chromium.org, kalyank, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix for menus blocking user activity detection (Retry). Original CL reverted here: https://codereview.chromium.org/998603003/ Menus used to block detecting user activity. The fix works by making the UserActivityDetector a PlatformEventObserver rather than an EventHandler. Also made sure that PlatformEventSource has an instance in ozone_platform_test.cc TBR=oshima@chromium.org,jamescook@chromium.org R=sadrul@chromium.org,alexst@chromium.org BUG=462735 TEST=ui_base_unittests --gtest_filter=UserActivityDetectorTest.* Committed: https://crrev.com/00e8cbeb43eb3cc99ffed3bc29a8a539dfece0a6 Cr-Commit-Position: refs/heads/master@{#321066}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -52 lines) Patch
M ash/shell.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M ui/base/user_activity/user_activity_detector.h View 2 chunks +11 lines, -8 lines 0 comments Download
M ui/base/user_activity/user_activity_detector.cc View 3 chunks +33 lines, -22 lines 0 comments Download
M ui/base/user_activity/user_activity_detector_unittest.cc View 14 chunks +31 lines, -13 lines 0 comments Download
M ui/ozone/platform/test/ozone_platform_test.cc View 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
afakhry
@Sadrul: as greed on IM, I added the stub test implementation for PlatformEventSource to ozone_platform_test.cc ...
5 years, 9 months ago (2015-03-16 23:58:51 UTC) #3
alexst (slow to review)
spang knows this part better.
5 years, 9 months ago (2015-03-17 01:51:59 UTC) #5
sadrul
On 2015/03/16 23:58:51, afakhry wrote: > @Sadrul: as greed on IM, I added the stub ...
5 years, 9 months ago (2015-03-17 16:37:22 UTC) #6
afakhry
On 2015/03/17 16:37:22, sadrul wrote: > On 2015/03/16 23:58:51, afakhry wrote: > > @Sadrul: as ...
5 years, 9 months ago (2015-03-17 16:45:04 UTC) #7
sadrul
lgtm
5 years, 9 months ago (2015-03-17 16:48:51 UTC) #8
spang
On 2015/03/17 16:37:22, sadrul wrote: > On 2015/03/16 23:58:51, afakhry wrote: > > @Sadrul: as ...
5 years, 9 months ago (2015-03-17 16:53:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1013003002/1
5 years, 9 months ago (2015-03-18 01:11:13 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-18 03:05:42 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/00e8cbeb43eb3cc99ffed3bc29a8a539dfece0a6 Cr-Commit-Position: refs/heads/master@{#321066}
5 years, 9 months ago (2015-03-18 03:06:11 UTC) #14
afakhry
5 years, 9 months ago (2015-03-18 20:45:25 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1016173002/ by afakhry@chromium.org.

The reason for reverting is: Issue 468442 has resulted from this CL. A fix at a
higher level must be done before this CL can be relanded..

Powered by Google App Engine
This is Rietveld 408576698