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

Issue 9559005: aura: Implement app list M19 mock. (Closed)

Created:
8 years, 9 months ago by xiyuan
Modified:
8 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, Aaron Boodman, sadrul, mihaip+watch_chromium.org, ben+watch_chromium.org, tfarina
Visibility:
Public.

Description

aura: Implement app list M19 mock. - Make AppListModel flat, i.e. remove AppListItemGroupModel and its view; - Move BuildAppListModel from ShellDelegate into AppListViewDelegate; - Make AppListModelBuilder ready to support simple query; - Make AppListItemView based on CustomButton and get rid of its listener interface since we can use ButtonListener for that now; - Update UI based on M19 mock: - AppListItemView show label on its right instead of bottom; - AppListItemView has a mouse hover effect now; - AppListModelView show AppListItemView tiles alphabetically from top to bottom instead of from left to right; - AppListView to occupy full screen include area behind the launcher; - AppListView to have a 0.4 black shade; BUG=98308 TEST=Verify applist should look like M19 mock. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124661

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix nits in #1 #

Total comments: 2

Patch Set 3 : fix nit in #2 #

Total comments: 32

Patch Set 4 : address comments in #3 #

Patch Set 5 : rebase #

Patch Set 6 : fix win_aura compile #

Patch Set 7 : use a better way to get ceiling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -936 lines) Patch
M ash/app_list/app_list.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M ash/app_list/app_list.cc View 1 2 3 8 chunks +17 lines, -24 lines 0 comments Download
D ash/app_list/app_list_groups_view.h View 1 chunk +0 lines, -84 lines 0 comments Download
D ash/app_list/app_list_groups_view.cc View 1 chunk +0 lines, -243 lines 0 comments Download
D ash/app_list/app_list_item_group_model.h View 1 chunk +0 lines, -46 lines 0 comments Download
D ash/app_list/app_list_item_group_model.cc View 1 chunk +0 lines, -25 lines 0 comments Download
D ash/app_list/app_list_item_group_view.h View 1 chunk +0 lines, -65 lines 0 comments Download
D ash/app_list/app_list_item_group_view.cc View 1 chunk +0 lines, -115 lines 0 comments Download
M ash/app_list/app_list_item_view.h View 1 2 3 3 chunks +11 lines, -20 lines 0 comments Download
M ash/app_list/app_list_item_view.cc View 1 2 3 3 chunks +53 lines, -90 lines 0 comments Download
D ash/app_list/app_list_item_view_listener.h View 1 chunk +0 lines, -27 lines 0 comments Download
M ash/app_list/app_list_model.h View 1 2 3 4 5 2 chunks +13 lines, -9 lines 0 comments Download
M ash/app_list/app_list_model.cc View 1 2 3 4 5 2 chunks +7 lines, -8 lines 0 comments Download
A ash/app_list/app_list_model_view.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A ash/app_list/app_list_model_view.cc View 1 2 3 4 5 6 1 chunk +120 lines, -0 lines 0 comments Download
M ash/app_list/app_list_view.h View 1 2 3 3 chunks +18 lines, -10 lines 0 comments Download
M ash/app_list/app_list_view.cc View 1 2 3 4 chunks +62 lines, -15 lines 0 comments Download
M ash/app_list/app_list_view_delegate.h View 2 chunks +8 lines, -1 line 0 comments Download
M ash/ash.gyp View 1 2 3 4 1 chunk +2 lines, -7 lines 0 comments Download
M ash/shell/app_list.cc View 4 chunks +22 lines, -34 lines 0 comments Download
M ash/shell/shell_main.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shell_delegate.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_model_builder.h View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc View 1 2 3 2 chunks +61 lines, -68 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_model_builder_unittest.cc View 1 2 3 3 chunks +10 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_view_delegate.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc View 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/views/aura/app_list/extension_app_item.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/aura/chrome_shell_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/aura/chrome_shell_delegate.cc View 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
xiyuan
Got most stuff in M19 mock except for the keyboard related stuff in http://code.google.com/p/chromium/issues/detail?id=98308#c44 and ...
8 years, 9 months ago (2012-02-29 22:45:14 UTC) #1
tfarina
http://codereview.chromium.org/9559005/diff/1/ash/app_list/app_list_item_view.cc File ash/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/9559005/diff/1/ash/app_list/app_list_item_view.cc#newcode98 ash/app_list/app_list_item_view.cc:98: int preferred_icon_size = rect.height() - kPadding * 2; nit: ...
8 years, 9 months ago (2012-02-29 22:59:38 UTC) #2
xiyuan
http://codereview.chromium.org/9559005/diff/1/ash/app_list/app_list_item_view.cc File ash/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/9559005/diff/1/ash/app_list/app_list_item_view.cc#newcode98 ash/app_list/app_list_item_view.cc:98: int preferred_icon_size = rect.height() - kPadding * 2; On ...
8 years, 9 months ago (2012-02-29 23:05:45 UTC) #3
tfarina
http://codereview.chromium.org/9559005/diff/4001/ash/app_list/app_list_item_view.cc File ash/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/9559005/diff/4001/ash/app_list/app_list_item_view.cc#newcode104 ash/app_list/app_list_item_view.cc:104: gfx::Size title_size = title_->GetPreferredSize(); nit: This seems to be ...
8 years, 9 months ago (2012-02-29 23:09:58 UTC) #4
xiyuan
http://codereview.chromium.org/9559005/diff/4001/ash/app_list/app_list_item_view.cc File ash/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/9559005/diff/4001/ash/app_list/app_list_item_view.cc#newcode104 ash/app_list/app_list_item_view.cc:104: gfx::Size title_size = title_->GetPreferredSize(); On 2012/02/29 23:09:58, tfarina wrote: ...
8 years, 9 months ago (2012-02-29 23:15:56 UTC) #5
sky
http://codereview.chromium.org/9559005/diff/7003/ash/app_list/app_list.cc File ash/app_list/app_list.cc (right): http://codereview.chromium.org/9559005/diff/7003/ash/app_list/app_list.cc#newcode27 ash/app_list/app_list.cc:27: return gfx::Screen::GetMonitorAreaNearestPoint(cursor); You sure you don't want work area? ...
8 years, 9 months ago (2012-03-01 00:26:57 UTC) #6
tfarina
http://codereview.chromium.org/9559005/diff/7003/chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc File chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc (right): http://codereview.chromium.org/9559005/diff/7003/chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc#newcode28 chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc:28: typedef struct { nit: please no typedef struct, C++ ...
8 years, 9 months ago (2012-03-01 01:05:23 UTC) #7
tfarina
http://codereview.chromium.org/9559005/diff/7003/ash/app_list/app_list_model_view.h File ash/app_list/app_list_model_view.h (right): http://codereview.chromium.org/9559005/diff/7003/ash/app_list/app_list_model_view.h#newcode9 ash/app_list/app_list_model_view.h:9: #include <string> nit: remove both, unused. http://codereview.chromium.org/9559005/diff/7003/ash/app_list/app_list_model_view.h#newcode14 ash/app_list/app_list_model_view.h:14: #include ...
8 years, 9 months ago (2012-03-01 01:10:00 UTC) #8
xiyuan
CL updated: - Addressed all comments in #3; - Made AppList fit when RootWindow size ...
8 years, 9 months ago (2012-03-01 19:58:47 UTC) #9
sky
LGTM
8 years, 9 months ago (2012-03-01 20:56:22 UTC) #10
sky
PS I think tiling vertically is just plain *WRONG*, but Ben said that's what was ...
8 years, 9 months ago (2012-03-01 20:56:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/9559005/18006
8 years, 9 months ago (2012-03-02 00:40:36 UTC) #12
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 01:46:12 UTC) #13
Try job failure for 9559005-18006 (retry) on win_rel for step "compile" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698