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

Issue 286933007: Reland "Only dispatch menu events if they have a valid target. (https://codereview.chromium.org/284… (Closed)

Created:
6 years, 7 months ago by flackr
Modified:
6 years, 7 months ago
Reviewers:
Nico, sadrul
CC:
chromium-reviews, tfarina, tdresser+watch_chromium.org
Visibility:
Public.

Description

Reland "Only dispatch menu events if they have a valid target. (https://codereview.chromium.org/284903002/)" Clean up MenuController at end of tests and on subsequent RunMenu calls. BUG=370162 TEST=MenuControllerTest.EventTargeter TEST=In touchview, open wrench menu and press a key (i.e. 'T'), nothing should happen. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272322

Patch Set 1 #

Patch Set 2 : Reset menu controller between tests and on subsequent calls to RunMenu. #

Total comments: 2

Patch Set 3 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -27 lines) Patch
M ui/events/event_utils.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/events/event_utils.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_controller.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_controller_unittest.cc View 1 2 8 chunks +126 lines, -26 lines 0 comments Download
M ui/views/controls/menu/menu_event_dispatcher_linux.cc View 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
flackr
Hey, patch set 1 is the original CL which failed with: Direct leak of 664 ...
6 years, 7 months ago (2014-05-20 18:53:18 UTC) #1
Nico
lgtm
6 years, 7 months ago (2014-05-20 19:00:12 UTC) #2
sadrul
https://codereview.chromium.org/286933007/diff/20001/ui/views/controls/menu/menu_controller_unittest.cc File ui/views/controls/menu/menu_controller_unittest.cc (right): https://codereview.chromium.org/286933007/diff/20001/ui/views/controls/menu/menu_controller_unittest.cc#newcode205 ui/views/controls/menu/menu_controller_unittest.cc:205: MenuController* controller_; Does it make sense to just have ...
6 years, 7 months ago (2014-05-20 19:55:44 UTC) #3
flackr
https://codereview.chromium.org/286933007/diff/20001/ui/views/controls/menu/menu_controller_unittest.cc File ui/views/controls/menu/menu_controller_unittest.cc (right): https://codereview.chromium.org/286933007/diff/20001/ui/views/controls/menu/menu_controller_unittest.cc#newcode205 ui/views/controls/menu/menu_controller_unittest.cc:205: MenuController* controller_; On 2014/05/20 19:55:45, sadrul wrote: > Does ...
6 years, 7 months ago (2014-05-20 20:33:40 UTC) #4
sadrul
lgtm. I am OK with leaving this as is.
6 years, 7 months ago (2014-05-20 20:36:51 UTC) #5
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-21 13:04:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/286933007/20001
6 years, 7 months ago (2014-05-21 19:59:16 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 08:07:54 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 08:10:59 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69137)
6 years, 7 months ago (2014-05-22 08:10:59 UTC) #10
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-22 14:04:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/286933007/40001
6 years, 7 months ago (2014-05-22 14:06:01 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 21:30:50 UTC) #13
Message was sent while issue was closed.
Change committed as 272322

Powered by Google App Engine
This is Rietveld 408576698