| Index: ash/host/ash_window_tree_host.cc
|
| diff --git a/ash/host/ash_window_tree_host.cc b/ash/host/ash_window_tree_host.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4af1622ade34dc703705a45ad377c2ca584bac7a
|
| --- /dev/null
|
| +++ b/ash/host/ash_window_tree_host.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 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/host/ash_window_tree_host.h"
|
| +
|
| +#include "ash/root_window_controller.h"
|
| +#include "ui/aura/window_tree_host.h"
|
| +
|
| +namespace ash {
|
| +
|
| +// static
|
| +AshWindowTreeHost* AshWindowTreeHost::Get(
|
| + aura::Window* window) {
|
| + return internal::GetRootWindowController(window->GetRootWindow())->ash_host();
|
| +}
|
| +
|
| +AshWindowTreeHost::~AshWindowTreeHost() {
|
| +}
|
| +
|
| +} // namesapce ash
|
|
|