From 53070808fece3b55ede4b6ceeb297f32d2293fd5 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Thu, 15 Sep 2011 20:51:04 +0000 Subject: Adds code for a new Aura shell. BUG=none TEST=none Review URL: http://codereview.chromium.org/7890054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101374 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/aura/aura.gyp | 1 + ui/aura/layout_manager.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 ui/aura/layout_manager.h (limited to 'ui/aura') diff --git a/ui/aura/aura.gyp b/ui/aura/aura.gyp index 8e9ef7f..f4f794e 100644 --- a/ui/aura/aura.gyp +++ b/ui/aura/aura.gyp @@ -36,6 +36,7 @@ 'focus_manager.cc', 'focus_manager.h', 'hit_test.h', + 'layout_manager.h', 'root_window.cc', 'root_window.h', 'window.cc', diff --git a/ui/aura/layout_manager.h b/ui/aura/layout_manager.h new file mode 100644 index 0000000..a28cf90 --- /dev/null +++ b/ui/aura/layout_manager.h @@ -0,0 +1,22 @@ +// Copyright (c) 2011 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 UI_AURA_LAYOUT_MANAGER_H_ +#define UI_AURA_LAYOUT_MANAGER_H_ +#pragma once + +namespace aura { + +// An interface implemented by an object that places child windows. +class LayoutManager { + public: + virtual ~LayoutManager() {} + + // Called when the window is resized. + virtual void OnWindowResized() = 0; +}; + +} // namespace aura + +#endif // UI_AURA_LAYOUT_MANAGER_H_ -- cgit v1.1