| Index: ash/wm/workspace/phantom_window_controller.h
|
| diff --git a/ash/wm/workspace/phantom_window_controller.h b/ash/wm/workspace/phantom_window_controller.h
|
| index 5510fc262bd6c71c70a1340d4f9348d422e0616f..6790fa60dc8cb278209cf0329bd08304f86056cd 100644
|
| --- a/ash/wm/workspace/phantom_window_controller.h
|
| +++ b/ash/wm/workspace/phantom_window_controller.h
|
| @@ -50,6 +50,12 @@ class ASH_EXPORT PhantomWindowController : public ui::AnimationDelegate {
|
| // Returns true if the phantom is showing.
|
| bool IsShowing() const;
|
|
|
| + // Stack the phantom window above the given window upon creation, but below
|
| + // this one.
|
| + void set_phantom_below_window(aura::Window* phantom_below_window) {
|
| + phantom_below_window_ = phantom_below_window;
|
| + }
|
| +
|
| // ui::AnimationDelegate overrides:
|
| virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
|
|
|
| @@ -60,6 +66,9 @@ class ASH_EXPORT PhantomWindowController : public ui::AnimationDelegate {
|
| // Window the phantom is placed beneath.
|
| aura::Window* window_;
|
|
|
| + // If set, the phantom window should get stacked below this window.
|
| + aura::Window* phantom_below_window_;
|
| +
|
| // Initially the bounds of |window_|. Each time Show() is invoked
|
| // |start_bounds_| is then reset to the bounds of |phantom_widget_| and
|
| // |bounds_| is set to the value passed into Show(). The animation animates
|
|
|