Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2103)

Unified Diff: athena/common/fill_layout_manager.h

Issue 335793005: athena: Add support for virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/common/DEPS ('k') | athena/common/fill_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/common/fill_layout_manager.h
diff --git a/athena/common/fill_layout_manager.h b/athena/common/fill_layout_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..a5df2d46d7a3e086359d637d8d87e6553deda58a
--- /dev/null
+++ b/athena/common/fill_layout_manager.h
@@ -0,0 +1,36 @@
+// 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.
+
+#ifndef ATHENA_COMMON_FILL_LAYOUT_MANAGER_H_
+#define ATHENA_COMMON_FILL_LAYOUT_MANAGER_H_
+
+#include "athena/athena_export.h"
+#include "ui/aura/layout_manager.h"
+
+namespace athena {
+
+class ATHENA_EXPORT FillLayoutManager : public aura::LayoutManager {
+ public:
+ explicit FillLayoutManager(aura::Window* container);
+ virtual ~FillLayoutManager();
+
+ // aura::LayoutManager:
+ virtual void OnWindowResized() OVERRIDE;
+ virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
+ virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
+ virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE;
+ virtual void OnChildWindowVisibilityChanged(aura::Window* child,
+ bool visible) OVERRIDE;
+ virtual void SetChildBounds(aura::Window* child,
+ const gfx::Rect& requested_bounds) OVERRIDE;
+
+ private:
+ aura::Window* container_;
+
+ DISALLOW_COPY_AND_ASSIGN(FillLayoutManager);
+};
+
+} // namespace athena
+
+#endif // ATHENA_COMMON_FILL_LAYOUT_MANAGER_H_
« no previous file with comments | « athena/common/DEPS ('k') | athena/common/fill_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698