DescriptionUpdate BookmarkBarController to use non-deprecated dragging APIs.
This CL theoretically should not produce any behavior change.
This CL replaces the method -[NSView dragImage:...] with -[NSView
beginDraggingSessionWithItems:...]. There are three major differences.
1. The new API is asynchronous, whereas the old one ran a nested run loop. This
CL runs a nested run loop to maintain the previous behavior.
2. The new API makes use of some new terminology and protocols
(NSDraggingSession, NSDraggingSource, etc.) but the underlying logic is still
the same. This CL renames some methods and variables.
3. The new API requires that custom PasteBoard types use reverse DNS notation.
BUG=592663
Committed: https://crrev.com/f2200abc5d620cc7495635767bf833aacd7af48f
Cr-Commit-Position: refs/heads/master@{#382722}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : REbase. #Patch Set 4 : Compile error. #Patch Set 5 : Fix test. #Patch Set 6 : Test errors. #
Total comments: 4
Patch Set 7 : Comments from avi. #
Messages
Total messages: 35 (15 generated)
|