Index: ash/wm/window_util.cc |
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc |
index c402ef255bf9ada8b5d1cdaac8798d0f2e976c3c..60537db6cbb7a54c6a6a9127d5f48416ec0c9ee9 100644 |
--- a/ash/wm/window_util.cc |
+++ b/ash/wm/window_util.cc |
@@ -14,6 +14,8 @@ |
namespace ash { |
+static const char kOpenWindowSplitKey[] = "OpenWindowSplit"; |
oshima
2012/01/26 16:37:25
move this to anonymous namespace.
|
+ |
void ActivateWindow(aura::Window* window) { |
aura::client::GetActivationClient()->ActivateWindow(window); |
} |
@@ -56,5 +58,13 @@ bool HasFullscreenWindow(const WindowSet& windows) { |
return false; |
} |
+void SetOpenWindowSplit(aura::Window* window, bool value) { |
+ window->SetIntProperty(kOpenWindowSplitKey, value ? 1 : 0); |
+} |
+ |
+bool GetOpenWindowSplit(aura::Window* window) { |
+ return window->GetIntProperty(kOpenWindowSplitKey) == 1; |
+} |
+ |
} // namespace window_util |
} // namespace ash |