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

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

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: ash/wm/common/fullscreen_window_finder.h
diff --git a/ash/wm/common/fullscreen_window_finder.h b/ash/wm/common/fullscreen_window_finder.h
new file mode 100644
index 0000000000000000000000000000000000000000..8392b5b016a6a015bd93236da0701fb2634ff6af
--- /dev/null
+++ b/ash/wm/common/fullscreen_window_finder.h
@@ -0,0 +1,22 @@
+// 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_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_
+#define ASH_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_
+
+#include "ash/ash_export.h"
James Cook 2016/04/27 23:24:24 not needed?
sky 2016/04/27 23:33:28 I added ASH_EXPORT to the function below and kept
+
+namespace ash {
+namespace wm {
+
+class WmWindow;
+
+// Returns the topmost window or one of its transient parents, if any of them
+// are in fullscreen mode. This searches for a window in the root of |context|.
+WmWindow* GetWindowForFullscreenMode(WmWindow* context);
+
+} // namespace wm
+} // namespace ash
+
+#endif // ASH_WM_COMMON_FULLSCREEN_WINDOW_FINDER_H_

Powered by Google App Engine
This is Rietveld 408576698