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

Issue 214423002: Reset the app list when it is shown on Windows and Linux. (Closed)

Created:
6 years, 9 months ago by calamity
Modified:
6 years, 8 months ago
Reviewers:
tapted, jennyz
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_app_list_folder_drag_for_real
Visibility:
Public.

Description

Reset the app list when it is shown on Windows and Linux. This CL makes the Windows and Linux app list show the root grid view when Show() is called. This would previously show the folder view if the folder view was displayed when the app list was hidden. This CL adds a ResetForShow() to several of the app list views as a consistent place to reset any dodgy state before showing the app list. BUG=357058 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260523

Patch Set 1 #

Patch Set 2 : fix app list folder icons disappearing on fast switch #

Total comments: 4

Patch Set 3 : #

Total comments: 4

Patch Set 4 : address comments #

Patch Set 5 : small change for tapted@ #

Total comments: 9

Patch Set 6 : rebase #

Patch Set 7 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M ui/app_list/views/app_list_main_view.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M ui/app_list/views/apps_container_view.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_container_view.cc View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M ui/app_list/views/apps_grid_view.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
calamity
6 years, 9 months ago (2014-03-27 10:05:40 UTC) #1
tapted
I haven't had a thorough look, but some initial comments below. And, it might feel ...
6 years, 9 months ago (2014-03-27 11:04:51 UTC) #2
jennyz
This cl fixes two different bugs, can you split it into two separate cls? https://codereview.chromium.org/214423002/diff/30001/ui/app_list/views/apps_container_view.cc ...
6 years, 9 months ago (2014-03-27 18:35:54 UTC) #3
calamity
https://codereview.chromium.org/214423002/diff/20001/chrome/browser/ui/views/app_list/linux/app_list_linux.cc File chrome/browser/ui/views/app_list/linux/app_list_linux.cc (right): https://codereview.chromium.org/214423002/diff/20001/chrome/browser/ui/views/app_list/linux/app_list_linux.cc#newcode64 chrome/browser/ui/views/app_list/linux/app_list_linux.cc:64: if (!view_->GetWidget()->IsVisible()) On 2014/03/27 11:04:52, tapted wrote: > Can ...
6 years, 9 months ago (2014-03-28 03:43:27 UTC) #4
tapted
lgtm % nits but this really needs a regression test. I think we are missing ...
6 years, 9 months ago (2014-03-28 07:39:14 UTC) #5
jennyz
https://codereview.chromium.org/214423002/diff/70001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/214423002/diff/70001/ui/app_list/views/apps_container_view.h#newcode48 ui/app_list/views/apps_container_view.h:48: void ResetForShow(); Better name should be like tapted suggested: ...
6 years, 9 months ago (2014-03-28 16:59:46 UTC) #6
jennyz
lgtm with nits
6 years, 9 months ago (2014-03-28 17:00:09 UTC) #7
calamity
https://codereview.chromium.org/214423002/diff/70001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/214423002/diff/70001/ui/app_list/views/apps_container_view.h#newcode22 ui/app_list/views/apps_container_view.h:22: class AppListItemView; On 2014/03/28 07:39:15, tapted wrote: > nit: ...
6 years, 8 months ago (2014-03-31 08:23:54 UTC) #8
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 8 months ago (2014-03-31 08:24:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/214423002/100008
6 years, 8 months ago (2014-03-31 08:24:17 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 11:39:33 UTC) #11
Message was sent while issue was closed.
Change committed as 260523

Powered by Google App Engine
This is Rietveld 408576698