summaryrefslogtreecommitdiffstats
path: root/ash/wm/panel_layout_manager.h
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-21 00:57:02 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-21 00:57:02 +0000
commit7eaa3c1037aeaf6ae34b916960d7ece124d5761c (patch)
tree743173b847827321e9c08402e24d6c6971a85117 /ash/wm/panel_layout_manager.h
parent93ef2562762be7b8185211d4d59105b692cf34c9 (diff)
downloadchromium_src-7eaa3c1037aeaf6ae34b916960d7ece124d5761c.zip
chromium_src-7eaa3c1037aeaf6ae34b916960d7ece124d5761c.tar.gz
chromium_src-7eaa3c1037aeaf6ae34b916960d7ece124d5761c.tar.bz2
Revert 133309 - Draw panels above their launcher icons.
(Caused test failures on Win and CrOS:PanelLayoutManagerTest.AddOnePanel) Note that this patch doesn't handle dragging panels to rearrange them (if we want that at all) and panels with no launcher icon because they are in overflow. BUG=124115 TEST=aura_shell_unittests --gtest_filter=*Panel* --aura-panels Review URL: https://chromiumcodereview.appspot.com/10091017 TBR=dcheng@chromium.org Review URL: https://chromiumcodereview.appspot.com/10134018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/panel_layout_manager.h')
-rw-r--r--ash/wm/panel_layout_manager.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/ash/wm/panel_layout_manager.h b/ash/wm/panel_layout_manager.h
index 8ec53d5..07ffd0e 100644
--- a/ash/wm/panel_layout_manager.h
+++ b/ash/wm/panel_layout_manager.h
@@ -9,7 +9,6 @@
#include <list>
#include "ash/ash_export.h"
-#include "ash/launcher/launcher_icon_observer.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/aura/layout_manager.h"
@@ -23,8 +22,6 @@ class Rect;
}
namespace ash {
-class Launcher;
-
namespace internal {
// PanelLayoutManager is responsible for organizing panels within the
@@ -36,8 +33,7 @@ namespace internal {
// its layout manager to this instance, e.g.:
// panel_container->SetLayoutManager(new PanelLayoutManager(panel_container));
-class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager,
- public ash::LauncherIconObserver {
+class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager {
public:
explicit PanelLayoutManager(aura::Window* panel_container);
virtual ~PanelLayoutManager();
@@ -47,8 +43,6 @@ class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager,
void ToggleMinimize(aura::Window* panel);
- void SetLauncher(ash::Launcher* launcher);
-
// Overridden from aura::LayoutManager:
virtual void OnWindowResized() OVERRIDE;
virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
@@ -59,9 +53,6 @@ class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager,
virtual void SetChildBounds(aura::Window* child,
const gfx::Rect& requested_bounds) OVERRIDE;
- // Overriden from ash::LauncherIconObserver
- virtual void OnLauncherIconPositionsChanged() OVERRIDE;
-
private:
typedef std::list<aura::Window*> PanelList;
@@ -77,8 +68,6 @@ class ASH_EXPORT PanelLayoutManager : public aura::LayoutManager,
aura::Window* dragged_panel_;
- Launcher* launcher_;
-
DISALLOW_COPY_AND_ASSIGN(PanelLayoutManager);
};