[Passwords] Migrate Password Manager Bubble to use SetTitle() API
All subclasses PasswordBubbleControllerBase return a fixed title (i.e. the title doesn't change during the life time of the controller) except SaveUpdateBubbleController. Therefore, for all other controllers, it's safe to set the title only once. For SaveUpdateBubbleController(), GetTitle() has been made public such that the view can query it when the title changes. Bug: 1044038,1090740 Change-Id: I47799ad4b2b55568bfbae3ef9b884c1b25085d04 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231038 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#775747}
Showing
Please register or sign in to comment