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

Issue 461093003: Fix the bug of multiple overlays. (Closed)

Created:
6 years, 4 months ago by Jun Mukai
Modified:
6 years, 4 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix the bug of multiple overlays. - keyboard overlay and partial_screenshot overlay should do nothing if there are already overlays. - overlay_event_filter should cancel the existing delegate if another delegate is trying to activate. BUG=341958 R=jamescook@chromium.org TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289199

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : more tests #

Total comments: 8

Patch Set 4 : fix #

Patch Set 5 : win fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -12 lines) Patch
M ash/ash.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ash/first_run/first_run_helper_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/keyboard_overlay/keyboard_overlay_view.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
A ash/test/test_overlay_delegate.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A ash/test/test_overlay_delegate.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M ash/wm/overlay_event_filter.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M ash/wm/overlay_event_filter.cc View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download
A ash/wm/overlay_event_filter_unittest.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M ash/wm/partial_screenshot_view.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M ash/wm/partial_screenshot_view_unittest.cc View 1 2 3 4 3 chunks +51 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Jun Mukai
6 years, 4 months ago (2014-08-12 19:35:23 UTC) #1
James Cook
Thanks for fixing this! Code looks good, but could you add a small test?
6 years, 4 months ago (2014-08-12 20:12:02 UTC) #2
Jun Mukai
added the tests.
6 years, 4 months ago (2014-08-12 21:13:40 UTC) #3
James Cook
LGTM! https://codereview.chromium.org/461093003/diff/40001/ash/wm/overlay_event_filter_unittest.cc File ash/wm/overlay_event_filter_unittest.cc (right): https://codereview.chromium.org/461093003/diff/40001/ash/wm/overlay_event_filter_unittest.cc#newcode16 ash/wm/overlay_event_filter_unittest.cc:16: TEST_F(OverlayEventFilterTest, CancelAtActivating) { nit: A brief comment about ...
6 years, 4 months ago (2014-08-12 21:51:16 UTC) #4
Jun Mukai
https://codereview.chromium.org/461093003/diff/40001/ash/wm/overlay_event_filter_unittest.cc File ash/wm/overlay_event_filter_unittest.cc (right): https://codereview.chromium.org/461093003/diff/40001/ash/wm/overlay_event_filter_unittest.cc#newcode16 ash/wm/overlay_event_filter_unittest.cc:16: TEST_F(OverlayEventFilterTest, CancelAtActivating) { On 2014/08/12 21:51:14, James Cook wrote: ...
6 years, 4 months ago (2014-08-12 22:51:03 UTC) #5
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 4 months ago (2014-08-12 22:51:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/461093003/60001
6 years, 4 months ago (2014-08-12 22:54:57 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-13 00:34:33 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 01:03:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/3663) win_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel/builds/6131) win_chromium_x64_rel ...
6 years, 4 months ago (2014-08-13 01:03:21 UTC) #10
Jun Mukai
The CQ bit was checked by mukai@chromium.org
6 years, 4 months ago (2014-08-13 01:31:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/461093003/80001
6 years, 4 months ago (2014-08-13 01:43:44 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 04:04:18 UTC) #13
Message was sent while issue was closed.
Change committed as 289199

Powered by Google App Engine
This is Rietveld 408576698