summaryrefslogtreecommitdiffstats
path: root/ui/aura/layout_manager.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 20:51:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 20:51:04 +0000
commit53070808fece3b55ede4b6ceeb297f32d2293fd5 (patch)
treea566abc838c9b84dafb5085a0f427455a4310ba8 /ui/aura/layout_manager.h
parent1b9575b6c17f75992713555056dceadf4770c565 (diff)
downloadchromium_src-53070808fece3b55ede4b6ceeb297f32d2293fd5.zip
chromium_src-53070808fece3b55ede4b6ceeb297f32d2293fd5.tar.gz
chromium_src-53070808fece3b55ede4b6ceeb297f32d2293fd5.tar.bz2
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
Diffstat (limited to 'ui/aura/layout_manager.h')
-rw-r--r--ui/aura/layout_manager.h22
1 files changed, 22 insertions, 0 deletions
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_