Clear Search results in the Mac app launcher on close, rather than launch.
The Mac app launcher now fades away when it is dismissed, so the animation that resets the search state can be seen while it's fading out. To match Win/CrOS, this CL moves the clear to when the window is closed; at the end of the animation. Adds a unit test: AppListWindowControllerTest.CloseClearsSearch to cover. BUG=321541 TEST=Launch something from a search in the Mac App Launcher. While it's fading out you shouldn't see the apps grid slide back in. Review URL: https://codereview.chromium.org/98233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238323 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment