Revert of Report PasswordManager.OsPasswordStatus on a background thread with a delay...
[chromium-blink-merge.git] / athena / util / fill_layout_manager.h
blob38748f99185de162e19da0faf817ce589b34b68c
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ATHENA_UTIL_FILL_LAYOUT_MANAGER_H_
6 #define ATHENA_UTIL_FILL_LAYOUT_MANAGER_H_
8 #include "athena/athena_export.h"
9 #include "ui/aura/layout_manager.h"
11 namespace athena {
13 class ATHENA_EXPORT FillLayoutManager : public aura::LayoutManager {
14 public:
15 static void SetAlwaysFill(aura::Window* window);
17 explicit FillLayoutManager(aura::Window* container);
18 ~FillLayoutManager() override;
20 // aura::LayoutManager:
21 virtual void OnWindowResized() override;
22 virtual void OnWindowAddedToLayout(aura::Window* child) override;
23 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) override;
24 virtual void OnWindowRemovedFromLayout(aura::Window* child) override;
25 virtual void OnChildWindowVisibilityChanged(aura::Window* child,
26 bool visible) override;
27 virtual void SetChildBounds(aura::Window* child,
28 const gfx::Rect& requested_bounds) override;
30 private:
31 aura::Window* container_;
33 DISALLOW_COPY_AND_ASSIGN(FillLayoutManager);
36 } // namespace athena
38 #endif // ATHENA_UTIL_FILL_LAYOUT_MANAGER_H_