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

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

Issue 2336653002: Ports SystemModalContainerLayoutManager to ash/common (Closed)
Patch Set: merge again Created 4 years, 3 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/aura/wm_window_aura.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
index e8e7683f8784b3f7b870c3c414da31127916f45a..a54e57adde6b6930a58bc0e82e142b39615f473d 100644
--- a/ash/common/wm/container_finder.h
+++ b/ash/common/wm/container_finder.h
@@ -5,6 +5,8 @@
#ifndef ASH_COMMON_WM_CONTAINER_FINDER_H_
#define ASH_COMMON_WM_CONTAINER_FINDER_H_
+#include <vector>
+
#include "ash/ash_export.h"
namespace gfx {
@@ -27,6 +29,13 @@ 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
« no previous file with comments | « ash/aura/wm_window_aura.cc ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698