Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Issue 98233002: Clear Search results in the Mac app launcher on close, rather than launch. (Closed)

Created:
7 years ago by tapted
Modified:
7 years ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

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. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238323

Patch Set 1 #

Total comments: 2

Patch Set 2 : Elborate on comment. And a rebase if I'm unlucky #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -3 lines) Patch
M ui/app_list/cocoa/app_list_view_controller.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/app_list/cocoa/app_list_view_controller.mm View 2 chunks +8 lines, -2 lines 0 comments Download
M ui/app_list/cocoa/app_list_window_controller.mm View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/app_list/cocoa/app_list_window_controller_unittest.mm View 1 2 chunks +25 lines, -0 lines 0 comments Download
M ui/app_list/test/app_list_test_view_delegate.h View 3 chunks +3 lines, -1 line 0 comments Download
M ui/app_list/test/app_list_test_view_delegate.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tapted
Hi kozooo, please take a look. (note: I didn't really want to expose showingSearchResults_.. but ...
7 years ago (2013-12-02 05:48:32 UTC) #1
koz (OOO until 15th September)
lgtm https://codereview.chromium.org/98233002/diff/1/ui/app_list/cocoa/app_list_window_controller_unittest.mm File ui/app_list/cocoa/app_list_window_controller_unittest.mm (right): https://codereview.chromium.org/98233002/diff/1/ui/app_list/cocoa/app_list_window_controller_unittest.mm#newcode74 ui/app_list/cocoa/app_list_window_controller_unittest.mm:74: // Test that search results are cleared when ...
7 years ago (2013-12-02 22:49:45 UTC) #2
tapted
https://codereview.chromium.org/98233002/diff/1/ui/app_list/cocoa/app_list_window_controller_unittest.mm File ui/app_list/cocoa/app_list_window_controller_unittest.mm (right): https://codereview.chromium.org/98233002/diff/1/ui/app_list/cocoa/app_list_window_controller_unittest.mm#newcode74 ui/app_list/cocoa/app_list_window_controller_unittest.mm:74: // Test that search results are cleared when the ...
7 years ago (2013-12-03 01:45:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/98233002/20001
7 years ago (2013-12-03 01:46:53 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=195804
7 years ago (2013-12-03 04:17:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/98233002/20001
7 years ago (2013-12-03 05:04:10 UTC) #6
commit-bot: I haz the power
7 years ago (2013-12-03 08:03:53 UTC) #7
Message was sent while issue was closed.
Change committed as 238323

Powered by Google App Engine
This is Rietveld 408576698