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

Issue 2850753002: Prevent opening context menu with all items hidden. (Closed)

Created:
3 years, 7 months ago by yamaguchi
Modified:
3 years, 7 months ago
Reviewers:
yoshiki, michaelpg
CC:
chromium-reviews, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent opening context menu with all items hidden. TEST=none TEST=manually tested as noted in the bug BUG=716322 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2850753002 Cr-Commit-Position: refs/heads/master@{#468531} Committed: https://chromium.googlesource.com/chromium/src/+/bce3863fc28dc7a2b05eb37a1055b2d43f8002a8

Patch Set 1 #

Patch Set 2 : Use existing logic to determine whether the item is saparator or not. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/webui/resources/js/cr/ui/menu.js View 1 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 21 (14 generated)
yamaguchi
Will you take a look? It seems the previous change around the line https://chromiumcodereview.appspot.com/22154002 has ...
3 years, 7 months ago (2017-05-01 04:44:28 UTC) #11
yoshiki
https://codereview.chromium.org/2850753002/diff/20001/ui/webui/resources/js/cr/ui/menu.js File ui/webui/resources/js/cr/ui/menu.js (right): https://codereview.chromium.org/2850753002/diff/20001/ui/webui/resources/js/cr/ui/menu.js#newcode191 ui/webui/resources/js/cr/ui/menu.js:191: hasVisibleItems: function() { nit: I think renaming this to ...
3 years, 7 months ago (2017-05-01 06:36:53 UTC) #12
yoshiki
lgtm
3 years, 7 months ago (2017-05-01 06:36:58 UTC) #13
yamaguchi
+michaelpg Michael, will your review the change because this is on a webui component? https://codereview.chromium.org/2850753002/diff/20001/ui/webui/resources/js/cr/ui/menu.js ...
3 years, 7 months ago (2017-05-01 06:51:46 UTC) #15
michaelpg
lgtm
3 years, 7 months ago (2017-05-01 21:39:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2850753002/20001
3 years, 7 months ago (2017-05-02 00:53:53 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 02:00:28 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bce3863fc28dc7a2b05eb37a1055...

Powered by Google App Engine
This is Rietveld 408576698