aura: Implement app list M19 mock.
commit41247fdcdeceecef93a0f04f2240abf0e4b4e283
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 Mar 2012 16:12:40 +0000 (2 16:12 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 Mar 2012 16:12:40 +0000 (2 16:12 +0000)
tree915ef725b646d7bb57357c60da5a0407573cfefb
parentf656805bcc1e3996d3f6fccaa385ea2438d70003
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.

Review URL: https://chromiumcodereview.appspot.com/9559005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124661 0039d316-1c4b-4281-b951-d872f2087c98
32 files changed:
ash/app_list/app_list.cc
ash/app_list/app_list.h
ash/app_list/app_list_groups_view.cc [deleted file]
ash/app_list/app_list_groups_view.h [deleted file]
ash/app_list/app_list_item_group_model.cc [deleted file]
ash/app_list/app_list_item_group_model.h [deleted file]
ash/app_list/app_list_item_group_view.cc [deleted file]
ash/app_list/app_list_item_group_view.h [deleted file]
ash/app_list/app_list_item_view.cc
ash/app_list/app_list_item_view.h
ash/app_list/app_list_item_view_listener.h [deleted file]
ash/app_list/app_list_model.cc
ash/app_list/app_list_model.h
ash/app_list/app_list_model_view.cc [new file with mode: 0644]
ash/app_list/app_list_model_view.h [new file with mode: 0644]
ash/app_list/app_list_view.cc
ash/app_list/app_list_view.h
ash/app_list/app_list_view_delegate.h
ash/ash.gyp
ash/shell/app_list.cc
ash/shell/shell_main.cc
ash/shell_delegate.h
ash/test/test_shell_delegate.cc
ash/test/test_shell_delegate.h
chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc
chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
chrome/browser/ui/views/aura/app_list/app_list_model_builder_unittest.cc
chrome/browser/ui/views/aura/app_list/app_list_view_delegate.cc
chrome/browser/ui/views/aura/app_list/app_list_view_delegate.h
chrome/browser/ui/views/aura/app_list/extension_app_item.cc
chrome/browser/ui/views/aura/chrome_shell_delegate.cc
chrome/browser/ui/views/aura/chrome_shell_delegate.h