diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 01:00:34 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-16 01:00:34 +0000 |
commit | 380aeaf0c6f3e4ab8ae8b2acbab2616eb83e445a (patch) | |
tree | dae23a5a4250e83974f1b538411f7874ab9a133e /ash/wm/panel_layout_manager.cc | |
parent | 26dc99aa8ecc3b19c8c8d51e8d302e7358ee01d6 (diff) | |
download | chromium_src-380aeaf0c6f3e4ab8ae8b2acbab2616eb83e445a.zip chromium_src-380aeaf0c6f3e4ab8ae8b2acbab2616eb83e445a.tar.gz chromium_src-380aeaf0c6f3e4ab8ae8b2acbab2616eb83e445a.tar.bz2 |
ash/app_list: Make app list bubble move with launcher app list button.
BUG=131693
TEST=Verify that app list bubble moves with launcher app list button when pinning/unpinning from app list grid.
Review URL: https://chromiumcodereview.appspot.com/10535170
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/panel_layout_manager.cc')
-rw-r--r-- | ash/wm/panel_layout_manager.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/wm/panel_layout_manager.cc b/ash/wm/panel_layout_manager.cc index 1a5d20d..b426c4e 100644 --- a/ash/wm/panel_layout_manager.cc +++ b/ash/wm/panel_layout_manager.cc @@ -5,6 +5,7 @@ #include "ash/wm/panel_layout_manager.h" #include <algorithm> +#include <map> #include "ash/launcher/launcher.h" #include "ash/shell.h" @@ -218,7 +219,11 @@ void PanelLayoutManager::SetChildBounds(aura::Window* child, //////////////////////////////////////////////////////////////////////////////// // PanelLayoutManager, ash::LauncherIconObserver implementation: + void PanelLayoutManager::OnLauncherIconPositionsChanged() { + // TODO: As this is called for every animation step now. Relayout needs to be + // updated to use current icon position instead of use the ideal bounds so + // that the panels slide with their icons instead of jumping. Relayout(); } |