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

Issue 27777002: Implement app list folder management page UI. (Closed)

Created:
7 years, 2 months ago by jennyz
Modified:
7 years, 2 months ago
Reviewers:
xiyuan, stevenjb
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, oshima+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Implement app list folder management page UI, including the following feature: 1. Clicking on a folder item in the app list grid will open the app list folder management page to show the folder name and items in the folder. 2. User can click on the back button on folder management page to navigate back to the app list page. 3. User can change the app list folder name on folder management page. BUG=303224 TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230227

Patch Set 1 #

Total comments: 22

Patch Set 2 : Add AppsContainerView and address other comments. #

Patch Set 3 : Remove a useless parameter from AppsContainerView constructor. #

Patch Set 4 : Remove a useless parameter from AppsContainerView constructor. #

Total comments: 12

Patch Set 5 : Address review comments. #

Patch Set 6 : Fix LauncherAppBrowserTest.ClickItem and DragAndDrop. #

Total comments: 8

Patch Set 7 : Fix nits. #

Total comments: 8

Patch Set 8 : Fix nits. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+713 lines, -60 lines) Patch
M ash/test/app_list_controller_test_api.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M ash/test/app_list_controller_test_api.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -2 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M ui/app_list/app_list_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/app_list_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/app_list_folder_item.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -5 lines 0 comments Download
A ui/app_list/views/app_list_folder_view.h View 1 1 chunk +70 lines, -0 lines 0 comments Download
A ui/app_list/views/app_list_folder_view.cc View 1 1 chunk +94 lines, -0 lines 2 comments Download
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 chunks +6 lines, -1 line 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ui/app_list/views/apps_container_view.h View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download
A ui/app_list/views/apps_container_view.cc View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 4 5 6 7 chunks +27 lines, -22 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 2 3 4 5 3 chunks +6 lines, -1 line 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 4 9 chunks +25 lines, -26 lines 0 comments Download
A ui/app_list/views/folder_header_view.h View 1 2 3 4 5 6 7 1 chunk +76 lines, -0 lines 0 comments Download
A ui/app_list/views/folder_header_view.cc View 1 2 3 4 5 6 7 1 chunk +179 lines, -0 lines 0 comments Download
A ui/app_list/views/folder_header_view_delegate.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
M ui/base/strings/ui_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
jennyz
7 years, 2 months ago (2013-10-17 21:59:13 UTC) #1
xiyuan
https://codereview.chromium.org/27777002/diff/1/ui/app_list/views/app_list_folder_view.cc File ui/app_list/views/app_list_folder_view.cc (right): https://codereview.chromium.org/27777002/diff/1/ui/app_list/views/app_list_folder_view.cc#newcode41 ui/app_list/views/app_list_folder_view.cc:41: app_list_main_view, pagination_model, start_page_contents); AppsGridView needs a AppsGridViewDelegate to pass ...
7 years, 2 months ago (2013-10-17 23:50:29 UTC) #2
jennyz
https://codereview.chromium.org/27777002/diff/1/ui/app_list/views/app_list_folder_view.cc File ui/app_list/views/app_list_folder_view.cc (right): https://codereview.chromium.org/27777002/diff/1/ui/app_list/views/app_list_folder_view.cc#newcode41 ui/app_list/views/app_list_folder_view.cc:41: app_list_main_view, pagination_model, start_page_contents); On 2013/10/17 23:50:30, xiyuan wrote: > ...
7 years, 2 months ago (2013-10-18 22:09:01 UTC) #3
xiyuan
Mostly good. https://codereview.chromium.org/27777002/diff/31001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/27777002/diff/31001/ui/app_list/views/apps_container_view.h#newcode33 ui/app_list/views/apps_container_view.h:33: AppsGridView* apps_grid_view() { return apps_grid_view_; } nit: ...
7 years, 2 months ago (2013-10-18 22:36:00 UTC) #4
jennyz
https://codereview.chromium.org/27777002/diff/31001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/27777002/diff/31001/ui/app_list/views/apps_container_view.h#newcode33 ui/app_list/views/apps_container_view.h:33: AppsGridView* apps_grid_view() { return apps_grid_view_; } On 2013/10/18 22:36:00, ...
7 years, 2 months ago (2013-10-18 22:53:19 UTC) #5
xiyuan
lgtm
7 years, 2 months ago (2013-10-18 23:31:19 UTC) #6
jennyz
I haven't gone thru your cl: https://codereview.chromium.org/27438002/ It might or might not have conflicts since ...
7 years, 2 months ago (2013-10-18 23:36:03 UTC) #7
jennyz
On 2013/10/18 23:36:03, jennyz wrote: > I haven't gone thru your cl: > https://codereview.chromium.org/27438002/ > ...
7 years, 2 months ago (2013-10-18 23:36:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/27777002/401001
7 years, 2 months ago (2013-10-21 19:59:40 UTC) #9
jennyz
7 years, 2 months ago (2013-10-21 20:12:12 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=166512
7 years, 2 months ago (2013-10-21 22:51:06 UTC) #11
jennyz
PTAL. I fixed the LauncherAppBrowserTest.ClickItem and LauncherAppBrowserTest.DragAndDrop.
7 years, 2 months ago (2013-10-22 18:12:14 UTC) #12
xiyuan
SLGTM https://codereview.chromium.org/27777002/diff/781001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/27777002/diff/781001/ui/app_list/views/apps_container_view.h#newcode39 ui/app_list/views/apps_container_view.h:39: AppsGridView* apps_grid_view() { return apps_grid_view_; } nit: move ...
7 years, 2 months ago (2013-10-22 18:15:45 UTC) #13
jennyz
https://codereview.chromium.org/27777002/diff/781001/ui/app_list/views/apps_container_view.h File ui/app_list/views/apps_container_view.h (right): https://codereview.chromium.org/27777002/diff/781001/ui/app_list/views/apps_container_view.h#newcode39 ui/app_list/views/apps_container_view.h:39: AppsGridView* apps_grid_view() { return apps_grid_view_; } On 2013/10/22 18:15:46, ...
7 years, 2 months ago (2013-10-22 18:21:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/27777002/951001
7 years, 2 months ago (2013-10-22 18:23:10 UTC) #15
stevenjb
https://codereview.chromium.org/27777002/diff/781001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/27777002/diff/781001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1788 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1788: LOG(ERROR) << "vm_grid->view_size=" << vm_grid->view_size(); VLOG (or remove) https://codereview.chromium.org/27777002/diff/951001/ui/app_list/app_list_folder_item.cc ...
7 years, 2 months ago (2013-10-22 18:34:26 UTC) #16
jennyz
https://codereview.chromium.org/27777002/diff/781001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/27777002/diff/781001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode1788 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:1788: LOG(ERROR) << "vm_grid->view_size=" << vm_grid->view_size(); On 2013/10/22 18:34:27, stevenjb ...
7 years, 2 months ago (2013-10-22 18:55:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/27777002/1171001
7 years, 2 months ago (2013-10-22 18:58:34 UTC) #18
commit-bot: I haz the power
Change committed as 230227
7 years, 2 months ago (2013-10-22 22:17:50 UTC) #19
Jeffrey Yasskin
FYI, this broke http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%283%29/builds/29082/steps/memory%20test%3A%20ash_unittests/logs/stdio, so it's reverted in r230256.
7 years, 2 months ago (2013-10-23 00:02:35 UTC) #20
xiyuan
https://codereview.chromium.org/27777002/diff/1171001/ui/app_list/views/app_list_folder_view.cc File ui/app_list/views/app_list_folder_view.cc (right): https://codereview.chromium.org/27777002/diff/1171001/ui/app_list/views/app_list_folder_view.cc#newcode51 ui/app_list/views/app_list_folder_view.cc:51: AppListFolderView::~AppListFolderView() { Add "RemoveAllChildViews(true);" here to explicitly delete |items_grid_view_|. ...
7 years, 2 months ago (2013-10-23 00:43:24 UTC) #21
jennyz
7 years, 2 months ago (2013-10-23 05:25:51 UTC) #22
Message was sent while issue was closed.
https://codereview.chromium.org/27777002/diff/1171001/ui/app_list/views/app_l...
File ui/app_list/views/app_list_folder_view.cc (right):

https://codereview.chromium.org/27777002/diff/1171001/ui/app_list/views/app_l...
ui/app_list/views/app_list_folder_view.cc:51:
AppListFolderView::~AppListFolderView() {
On 2013/10/23 00:43:25, xiyuan wrote:
> Add "RemoveAllChildViews(true);" here to explicitly delete |items_grid_view_|.
> This should fix the use-after-free

Thanks, fixed in a new patch since it is reverted and running on bots to try.

Powered by Google App Engine
This is Rietveld 408576698