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

Unified Diff: ash/common/wm/root_window_layout_manager.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 10 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 | « ash/common/wm/root_window_finder.cc ('k') | ash/common/wm/root_window_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/root_window_layout_manager.h
diff --git a/ash/common/wm/root_window_layout_manager.h b/ash/common/wm/root_window_layout_manager.h
deleted file mode 100644
index 677dfc8231fd8c054434431d17ddc1642ab8a01a..0000000000000000000000000000000000000000
--- a/ash/common/wm/root_window_layout_manager.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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_COMMON_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
-#define ASH_COMMON_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
-
-#include "ash/common/wm_layout_manager.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace wm {
-
-// A layout manager for the root window.
-// Resizes all of its immediate children and their descendants to fill the
-// bounds of the associated window.
-class RootWindowLayoutManager : public WmLayoutManager {
- public:
- explicit RootWindowLayoutManager(WmWindow* owner);
- ~RootWindowLayoutManager() override;
-
- // Overridden from aura::LayoutManager:
- void OnWindowResized() override;
- void OnWindowAddedToLayout(WmWindow* child) override;
- void OnWillRemoveWindowFromLayout(WmWindow* child) override;
- void OnWindowRemovedFromLayout(WmWindow* child) override;
- void OnChildWindowVisibilityChanged(WmWindow* child, bool visible) override;
- void SetChildBounds(WmWindow* child,
- const gfx::Rect& requested_bounds) override;
-
- private:
- WmWindow* owner_;
-
- DISALLOW_COPY_AND_ASSIGN(RootWindowLayoutManager);
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_COMMON_WM_ROOT_WINDOW_LAYOUT_MANAGER_H_
« no previous file with comments | « ash/common/wm/root_window_finder.cc ('k') | ash/common/wm/root_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698