| Index: ash/wm/aura/wm_window_aura.cc
|
| diff --git a/ash/wm/aura/wm_window_aura.cc b/ash/wm/aura/wm_window_aura.cc
|
| index b7c07124359e3a76ac1797e3bbc6f4dcc297ef69..9dcb68bcbdcf20ef0043659ea9c0e7c3843984da 100644
|
| --- a/ash/wm/aura/wm_window_aura.cc
|
| +++ b/ash/wm/aura/wm_window_aura.cc
|
| @@ -190,6 +190,10 @@ WmWindow* WmWindowAura::GetToplevelWindow() {
|
| return Get(window_->GetToplevelWindow());
|
| }
|
|
|
| +void WmWindowAura::AddChild(WmWindow* window) {
|
| + window_->AddChild(GetAuraWindow(window));
|
| +}
|
| +
|
| WmWindow* WmWindowAura::GetParent() {
|
| return Get(window_->parent());
|
| }
|
| @@ -207,6 +211,14 @@ std::vector<WmWindow*> WmWindowAura::GetTransientChildren() {
|
| return wm_windows;
|
| }
|
|
|
| +void WmWindowAura::SetVisibilityAnimationType(int type) {
|
| + ::wm::SetWindowVisibilityAnimationType(window_, type);
|
| +}
|
| +
|
| +void WmWindowAura::Animate(::wm::WindowAnimationType type) {
|
| + ::wm::AnimateWindow(window_, type);
|
| +}
|
| +
|
| void WmWindowAura::SetBounds(const gfx::Rect& bounds) {
|
| window_->SetBounds(bounds);
|
| }
|
| @@ -315,6 +327,10 @@ ui::WindowShowState WmWindowAura::GetShowState() const {
|
| return window_->GetProperty(aura::client::kShowStateKey);
|
| }
|
|
|
| +void WmWindowAura::SetRestoreShowState(ui::WindowShowState show_state) {
|
| + window_->SetProperty(aura::client::kRestoreShowStateKey, show_state);
|
| +}
|
| +
|
| void WmWindowAura::SetCapture() {
|
| window_->SetCapture();
|
| }
|
|
|