Ensure Undo/Redo are shown in context menu when Emoji is shown.
Currently Undo/Redo are not added when there are menu items before it. This was to deal with autocorrect/selected text items. However, when we add Emoji as a menu item, we still want Undo/Redo to show. This patch makes an exception for this. Test: Is tested in crrev/1090408 Bug: See crrev/1090408 Change-Id: I960e064e2829e97b61e6fa8be31091dd6f671f24 Reviewed-on: https://chromium-review.googlesource.com/1092214 Commit-Queue: Mathieu Perreault <mathp@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#565675}
Showing
Please register or sign in to comment