Chromium Code Reviews
DescriptionUpdate AutocompleteTextFieldEditor 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 two 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) but the underlying logic is still the same.
This CL also fixes some improper uses of NSPasteboard in clipboard_mac.mm.
BUG=592663
Committed: https://crrev.com/df2f225a8b0e9bb797a0a8667ea601ac67941e28
Cr-Commit-Position: refs/heads/master@{#384739}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 4
Patch Set 5 : Comments from mark@. #Patch Set 6 : Compile error. #Patch Set 7 : Fix some improper uses of NSPasteboard in clipboard_mac. #Patch Set 8 : Fix test. #Patch Set 9 : Rebase. #Patch Set 10 : Don't overwrite in ClipboardMac::WriteBookmark. #
Total comments: 4
Patch Set 11 : Comments from avi. #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 43 (20 generated)
|