blob: b730d619c3e7f98f43ee57904eafa6103fb45393 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/stacking_controller.h"
#include "ash/aura/wm_window_aura.h"
#include "ash/common/wm/container_finder.h"
namespace ash {
////////////////////////////////////////////////////////////////////////////////
// StackingController, public:
StackingController::StackingController() {}
StackingController::~StackingController() {}
////////////////////////////////////////////////////////////////////////////////
// StackingController, aura::client::WindowParentingClient implementation:
aura::Window* StackingController::GetDefaultParent(aura::Window* context,
aura::Window* window,
const gfx::Rect& bounds) {
return WmWindowAura::GetAuraWindow(wm::GetDefaultParent(
WmWindowAura::Get(context), WmWindowAura::Get(window), bounds));
}
} // namespace ash