[ios] Add reusable drag and drop handlers
This CL adds 2 reusable handlers: - TableViewURLDragDropHandler - URLDragDropHandler These are constructed similarly, so I put them into one CL for contrast and comparison. I'll create separate CLs that demonstrate how they are used. The delegate and dataSource protocols draw inspiration from UITableViewDropDelegate and UITableViewDataSource. This is in a series of CLs to enable drag and/or drop of URLs in Bookmarks, Reading List, History, Recent Tabs, Omnibox, and tab strip. Note, unit tests will be added in a fast followup CL. Bug: 1087847 Change-Id: Ia2dca93d032054447b5305fe4ce7f8c86655e966 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2272117 Commit-Queue: edchin <edchin@chromium.org> Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#784832}
Showing
Please register or sign in to comment