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

Issue 2422283002: Fix Bookmarks Bar Drag-and-Drop between folders (Closed)

Created:
4 years, 2 months ago by jonross
Modified:
4 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Bookmarks Bar Drag-and-Drop between folders Currently you cannot drag between two bookmarks folders on Linux and Windows. Widget destruction on those platforms tears down their platform specific drag-and-drop implementations. This change updates MenuController to not tear down when Cancel is called if a drag is currently occurring. The menu will still have all windows hidden, and will be destroyed when drag-and-drop completes. There are interactive_ui_tests covering the integration tests of this feature in BookmarkBarViewTest. However they are disabled on Windows and Linux, missing the bug at submission time. I've filed crbug.com/656712 to track the issues with X11 preventing getting these tests running. TEST=MenuControllerTest.CancelAllDuringDrag, manual testing on Linux and Windows BUG=636397 Committed: https://crrev.com/24470df35ac9d98824f447d9a0112c0bdbdf1cb5 Cr-Commit-Position: refs/heads/master@{#425790}

Patch Set 1 : fix edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -1 line) Patch
M ui/views/controls/menu/menu_controller.cc View 1 chunk +7 lines, -1 line 0 comments Download
M ui/views/controls/menu/menu_controller_unittest.cc View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
jonross
sky@ could you take a look at this review? It's an update to menu closing ...
4 years, 2 months ago (2016-10-17 18:14:59 UTC) #3
sky
LGTM
4 years, 2 months ago (2016-10-17 20:23:17 UTC) #4
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/2422283002/20001
4 years, 2 months ago (2016-10-17 20:47:40 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 2 months ago (2016-10-17 22:22:30 UTC) #7
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 22:24:43 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/24470df35ac9d98824f447d9a0112c0bdbdf1cb5
Cr-Commit-Position: refs/heads/master@{#425790}

Powered by Google App Engine
This is Rietveld 408576698