| Index: ash/hostwm/host_window_manager.h
|
| diff --git a/ash/hostwm/host_window_manager.h b/ash/hostwm/host_window_manager.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3d85fe5d2dd650c802e6c80658987cfded978734
|
| --- /dev/null
|
| +++ b/ash/hostwm/host_window_manager.h
|
| @@ -0,0 +1,51 @@
|
| +// 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.
|
| +
|
| +#ifndef ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
|
| +#define ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "ui/aura/hostwm/host_window_manager_client.h"
|
| +
|
| +#include <map>
|
| +
|
| +namespace aura {
|
| +class RootWindow;
|
| +}
|
| +
|
| +namespace views {
|
| +class Widget;
|
| +}
|
| +
|
| +namespace ash {
|
| +class HostWindowContainer;
|
| +
|
| +namespace internal {
|
| +
|
| +class HostWindowManager : public aura::client::HostWindowManagerClient {
|
| + public:
|
| + HostWindowManager() {}
|
| + virtual ~HostWindowManager() {}
|
| +
|
| + // Overridden from aura::client::HostWindowManagerClient:
|
| + virtual gfx::NativeWindow OnHostWindowCreated(
|
| + const gfx::Rect& bounds, bool decorated) OVERRIDE;
|
| + virtual void OnHostWindowDestroyed(gfx::NativeWindow window) OVERRIDE;
|
| + virtual void OnHostWindowMovedOrResized(
|
| + gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE;
|
| + virtual void OnHostWindowMovedOrResizedConstrained(
|
| + gfx::NativeWindow window, const gfx::Rect& bounds) OVERRIDE;
|
| + virtual void OnHostWindowVisibilityChanged(
|
| + gfx::NativeWindow window, bool visible) OVERRIDE;
|
| + virtual aura::RootWindow* GetRootWindow() OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(HostWindowManager);
|
| +};
|
| +
|
| +} // namespace internal
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_HOSTWM_HOST_WINDOW_MANAGER_H_
|
|
|