Remove declaration of viewSafeAreaInsetsDidChange in ToolbarController's interface |
||||
Issue descriptionToolbarController is declaring the viewSafeAreaInsetsDidChange method in its interface as it is not a UIViewController. Once it is a real UIViewController, remove the declaration of this method. Its call can also be removed once it is a contained ViewController.
,
Nov 20 2017
gambard@ can these be removed now, right now we are calling these methods twice.
,
Nov 21 2017
If the toolbarViewController is a child view controller, I think it is fine.
,
Nov 21 2017
lod@ I think you are making changes in this area now -- perhaps you can take this while sczs@ is out.
,
Jan 9 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2094a8b25cb85f6422101584112502c80a9cef5c commit 2094a8b25cb85f6422101584112502c80a9cef5c Author: Gauthier Ambard <gambard@chromium.org> Date: Tue Jan 09 14:13:31 2018 Remove legacy code This CL removes legacy code added when the toolbar wasn't a ViewController. As it is now a child ViewController, the call to viewSafeAreaInsetsDidChange is correctly propagated. Bug: 778236 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ic552e43c3f6ed0daa50fb92ba9dd75f9e2573252 Reviewed-on: https://chromium-review.googlesource.com/856979 Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#527984} [modify] https://crrev.com/2094a8b25cb85f6422101584112502c80a9cef5c/ios/chrome/browser/ui/browser_view_controller.mm [modify] https://crrev.com/2094a8b25cb85f6422101584112502c80a9cef5c/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm
,
Jan 9 2018
,
Jan 10 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d544d115bf1ecfe7687f4b2a448b4f24fbfabc5f commit d544d115bf1ecfe7687f4b2a448b4f24fbfabc5f Author: Gauthier Ambard <gambard@chromium.org> Date: Wed Jan 10 10:26:04 2018 Fix the WebToolbar The viewSafeAreaInsetsDidChange method was calling a method specific to the SafeArea toolbar. This CL check the flag is enabled before calling the method. Bug: 778236 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ia8fa9ec124f6f700823d2498e041d94b22301de3 Reviewed-on: https://chromium-review.googlesource.com/859237 Commit-Queue: Louis Romero <lpromero@chromium.org> Reviewed-by: Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#528274} [modify] https://crrev.com/d544d115bf1ecfe7687f4b2a448b4f24fbfabc5f/ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Oct 27 2017