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

Unified Diff: ash/common/wm/container_finder.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/always_on_top_controller.cc ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/container_finder.h
diff --git a/ash/common/wm/container_finder.h b/ash/common/wm/container_finder.h
deleted file mode 100644
index a54e57adde6b6930a58bc0e82e142b39615f473d..0000000000000000000000000000000000000000
--- a/ash/common/wm/container_finder.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 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_CONTAINER_FINDER_H_
-#define ASH_COMMON_WM_CONTAINER_FINDER_H_
-
-#include <vector>
-
-#include "ash/ash_export.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace ash {
-
-class WmWindow;
-
-namespace wm {
-
-// Returns the first ancestor of |window| that has a known container ID.
-ASH_EXPORT WmWindow* GetContainerForWindow(WmWindow* window);
-
-// Returns the parent to add |window| to in |context|. This is generally
-// used when a window is moved from one root to another. In this case |context|
-// is the new root to add |window| to.
-ASH_EXPORT WmWindow* GetDefaultParent(WmWindow* context,
- WmWindow* window,
- const gfx::Rect& bounds);
-
-// Returns the list of containers that match |container_id| in all root windows.
-// If |priority_root| is non-null, the container in |priority_root| is placed at
-// the front of the list.
-ASH_EXPORT std::vector<WmWindow*> GetContainersFromAllRootWindows(
- int container_id,
- WmWindow* priority_root = nullptr);
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_COMMON_WM_CONTAINER_FINDER_H_
« no previous file with comments | « ash/common/wm/always_on_top_controller.cc ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698