[iOS] CBD cell selection maintenance
- Previously in Clear Browsing Data, a selection of a cell is immediately followed by a deselection along with UI update (checkmark in accessory view). - With the new CBD UI being introduced, the selection state of cells becomes relevant and should be handled and maintained. Detail outline: - Reconfigure instead of reload a cell upon browsing data counter finish counting, as a reload clears a cell's selection state. - Cell pre-selection according to browser state, whenever |viewWillAppear:| is invoked. - Have separate |tableView:didSelect...| and |tableView:didDeselect...| implementations. - Should introduce no effect when new-clear-browsing-data-ui is disabled. Bug: 935346 Change-Id: I6b224e5d6ac05f5a3506668f8d6a68d3353fc897 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1551779 Commit-Queue: Huanzhong Huang <huanzhong@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#648651}
Showing
Please register or sign in to comment