forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dragging items out of folders in the app list for Windows.
This CL fixes dragging of items out of a folder view in the Windows app list. This issue was being caused by the SynchronousDrag code not being correctly dealt with, causing an extra instance to be created and skipping the view switching code. This CL allows SynchronousDrag to interact with folder update code and prevents a new SynchronousDrag from being created in the root level AppsGridView during a reparent which causes it to correctly move around an invisible drag view. This CL also changes the reparenting drag events to all use a Point rather than a LocatedEvent. Fixes a bug seen on Windows when cancelling a drag after the reparent begins would cause a crash. BUG=348941 TEST=On Windows: 1. In one continuous drag, move an item out of a folder by dragging to a corner of the app list, then move it onto the main grid so that an empty space is created, then press ESC. There should not be a crash. 2. Drag an item out of the app list folder and place it in the top level of the app list. Review URL: https://codereview.chromium.org/213123009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260493 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
calamity@chromium.org
committed
Mar 31, 2014
1 parent
e7a9444
commit f2724cf
Showing
6 changed files
with
38 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters