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

Issue 1129203003: Skips disabled menu items when selection is changed (Closed)

Created:
5 years, 7 months ago by varkha
Modified:
5 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skips disabled menu items when selection is changed BUG=297561 TEST=views_unittests --gtest_filter=*MenuControllerTest*SelectedItem* Committed: https://crrev.com/ae542eed5ff279a453ba09c00b4b6517b18e392c Cr-Commit-Position: refs/heads/master@{#330965}

Patch Set 1 #

Patch Set 2 : Skips disabled menu items when selection is changed (test) #

Total comments: 1

Patch Set 3 : Skips disabled menu items when selection is changed (attempt to fix test on a Mac) #

Patch Set 4 : Skips disabled menu items when selection is changed (test) #

Total comments: 4

Patch Set 5 : Skips disabled menu items when selection is changed (test) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -17 lines) Patch
M ui/views/controls/menu/menu_controller.h View 1 chunk +6 lines, -2 lines 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 3 chunks +24 lines, -12 lines 0 comments Download
M ui/views/controls/menu/menu_controller_unittest.cc View 1 2 3 4 3 chunks +94 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (17 generated)
varkha
sadrul@, can you please take a look?
5 years, 7 months ago (2015-05-13 01:08:12 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129203003/1
5 years, 7 months ago (2015-05-13 04:59:45 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-13 05:43:18 UTC) #6
sadrul
Looks reasonable. Can this have a test?
5 years, 7 months ago (2015-05-13 16:33:48 UTC) #7
varkha
Thanks, I have added a test for UP/DOWN key navigation. PTAL.
5 years, 7 months ago (2015-05-13 19:37:18 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129203003/40002
5 years, 7 months ago (2015-05-13 20:01:33 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/17576)
5 years, 7 months ago (2015-05-13 22:06:35 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129203003/70001
5 years, 7 months ago (2015-05-13 22:31:55 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/65908)
5 years, 7 months ago (2015-05-14 00:31:41 UTC) #19
sadrul
The try failures on the mac bot look related to the CL. Mind taking a ...
5 years, 7 months ago (2015-05-14 08:04:35 UTC) #20
sadrul
Also, is this something we can test in a unit-test inside views? That I think ...
5 years, 7 months ago (2015-05-14 08:05:59 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129203003/110001
5 years, 7 months ago (2015-05-20 19:01:23 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-20 20:35:46 UTC) #25
varkha
Hi sadrul@, PTAL.
5 years, 7 months ago (2015-05-20 20:39:33 UTC) #26
sadrul
https://codereview.chromium.org/1129203003/diff/110001/ui/views/controls/menu/menu_controller_unittest.cc File ui/views/controls/menu/menu_controller_unittest.cc (right): https://codereview.chromium.org/1129203003/diff/110001/ui/views/controls/menu/menu_controller_unittest.cc#newcode349 ui/views/controls/menu/menu_controller_unittest.cc:349: // Disabling the item "Two" gets it skipped when ...
5 years, 7 months ago (2015-05-21 13:44:28 UTC) #27
varkha
Added MenuControllerTest.FirstSelectedItem, PTAL. https://codereview.chromium.org/1129203003/diff/110001/ui/views/controls/menu/menu_controller_unittest.cc File ui/views/controls/menu/menu_controller_unittest.cc (right): https://codereview.chromium.org/1129203003/diff/110001/ui/views/controls/menu/menu_controller_unittest.cc#newcode349 ui/views/controls/menu/menu_controller_unittest.cc:349: // Disabling the item "Two" gets ...
5 years, 7 months ago (2015-05-21 16:33:12 UTC) #30
sadrul
Thanks! LGTM
5 years, 7 months ago (2015-05-21 19:25:21 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129203003/170001
5 years, 7 months ago (2015-05-21 19:38:27 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:170001)
5 years, 7 months ago (2015-05-21 20:30:19 UTC) #36
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 20:31:16 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ae542eed5ff279a453ba09c00b4b6517b18e392c
Cr-Commit-Position: refs/heads/master@{#330965}

Powered by Google App Engine
This is Rietveld 408576698