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

Unified Diff: ash/switchable_windows.h

Issue 149493008: Use active window if on current workspace for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 6 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/root_window_controller_unittest.cc ('k') | ash/switchable_windows.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/switchable_windows.h
diff --git a/ash/switchable_windows.h b/ash/switchable_windows.h
index 305921bf662cc02c34d80d997002dfd0185083e4..b0b4ee0178bf12beba0263ec218e77057cd3423a 100644
--- a/ash/switchable_windows.h
+++ b/ash/switchable_windows.h
@@ -8,6 +8,10 @@
#include "ash/ash_export.h"
#include "base/macros.h"
+namespace aura {
+ class Window;
+}
+
namespace ash {
// List of containers which contain windows that can be switched via Alt+Tab to.
@@ -16,6 +20,9 @@ ASH_EXPORT extern const int kSwitchableWindowContainerIds[];
// The number of elements in kSwitchableWindowContainerIds.
ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength;
+// Returns true if |window| is a container for windows which can be switched to.
+ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window);
+
} // namespace ash
#endif // ASH_SWITCHABLE_WINDOWS_H_
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/switchable_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698