diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 07:43:12 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 07:43:12 +0000 |
commit | 9aef60e231fe17da81406af1ee431df2a077b971 (patch) | |
tree | a3101452b9b38282fa7ae2f549a620bd224d3741 /ui/aura_shell/shell_delegate.h | |
parent | 086bc9a3a3b941f19988fd7796ea0afe7f11f6aa (diff) | |
download | chromium_src-9aef60e231fe17da81406af1ee431df2a077b971.zip chromium_src-9aef60e231fe17da81406af1ee431df2a077b971.tar.gz chromium_src-9aef60e231fe17da81406af1ee431df2a077b971.tar.bz2 |
[Aura] Polish app list.
- Remove search box until we have decided how to approach it;
- Show apps pagination dots;
- Dismiss app list UI on escape or click on non-app and non nav dots;
- Defer widget showing further until apps are loaded by webui;
- Add a container div to limit apps page height so that the gap between apps icons and nav dots are not too big;
- Passing bounds when requesting app list widget to avoid resizing;
BUG=98308,105794,106451
TEST=Verify search box is gone, nav gots show up on bottom and could switch pages by clicking on it;
Review URL: http://codereview.chromium.org/8747021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura_shell/shell_delegate.h')
-rw-r--r-- | ui/aura_shell/shell_delegate.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/aura_shell/shell_delegate.h b/ui/aura_shell/shell_delegate.h index 28eb602..3771b1a 100644 --- a/ui/aura_shell/shell_delegate.h +++ b/ui/aura_shell/shell_delegate.h @@ -9,6 +9,10 @@ #include "base/callback.h" #include "ui/aura_shell/aura_shell_export.h" +namespace gfx { +class Rect; +} + namespace views { class Widget; } @@ -35,7 +39,9 @@ class AURA_SHELL_EXPORT ShellDelegate { // Invoked to create app list widget. The Delegate calls the callback // when the widget is ready to show. - virtual void RequestAppListWidget(const SetWidgetCallback& callback) = 0; + virtual void RequestAppListWidget( + const gfx::Rect& bounds, + const SetWidgetCallback& callback) = 0; // Invoked when the user clicks on a window entry in the launcher. virtual void LauncherItemClicked(const LauncherItem& item) = 0; |