[ios] Makes SettingsRootTableVC conform to AdaptivePresentationControllerDelegate
Since Settings might embed 3rd party ViewControllers, the only interface we could expect from them in order to clean up or rubberband when swiping down to dismiss are the AdaptivePresentationControllerDelegate instance methods. For this reason SettingsRootTableVC now conforms to AdaptivePresentationControllerDelegate, and any subclass can override or implement any of the these methods. This CL also forwards all AdaptivePresentationControllerDelegate method calls into the currently presented Settings VC. Bug: 1006304 Change-Id: I0ff47d755e5c3e67029e210dfb94d21d700520cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832104Reviewed-by:Gauthier Ambard <gambard@chromium.org> Commit-Queue: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#702016}
Showing
Please register or sign in to comment