TabGridDialog selection mode polish
* Tint the toolbar menu button properly. * When rotation happens, update the position of selection editor PopupWindow instead of re-showing it. * Calculate the dialog position instead of using getGlobalVisibleRect which doesn't deterministically happen early enough when rotating. * Pull out positioning-related logics from TabSelectionEditorLayout to TabSelectionEditorMediator and add tests. Bug: 1011269, 1011271 Change-Id: Iff3b5d993030f7798981b5ff5d945b28a2655188 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846246 Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Mei Liang <meiliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#706608}
Showing
Please register or sign in to comment