Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide the caption buttons of a browser window launched in tablet mode
Before the present CL, the caption buttons of a browser window would be hidden most of the time, but not at the moment when a browser window is created in tablet mode. Workflows such as entering and exiting overview would then cause the browser window caption buttons to be hidden because they were supposed to be hidden all along. As of the present CL, the caption buttons really will be hidden in the first place. The present CL adds a very flaky unit test. Without the present CL, the related test TabletModeBrowserCaptionButtonVisibility is already a little bit flaky, meaning that the present CL is not really introducing a new problem. The present CL just adds to the priority of addressing the preexisting test flake issue. See Issue 993974. Test: browser_tests HomeLauncherBrowserNonClientFrameViewAshTest.CaptionButtonVisibilityForBrowserLaunchedInTabletMode Bug: 993594, 993974 Change-Id: I63442abd452eba4ea6b35ad67273dec000ea1c70 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754239 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Avery Musbach <amusbach@chromium.org> Cr-Commit-Position: refs/heads/master@{#687288}
- Loading branch information