| Index: ash/wm/window_util.cc
|
| diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
|
| index c402ef255bf9ada8b5d1cdaac8798d0f2e976c3c..81a804807cffcc96105961d06d911df66019d972 100644
|
| --- a/ash/wm/window_util.cc
|
| +++ b/ash/wm/window_util.cc
|
| @@ -14,6 +14,12 @@
|
|
|
| namespace ash {
|
|
|
| +namespace {
|
| +
|
| +const char kOpenWindowSplitKey[] = "OpenWindowSplit";
|
| +
|
| +} // namespace
|
| +
|
| void ActivateWindow(aura::Window* window) {
|
| aura::client::GetActivationClient()->ActivateWindow(window);
|
| }
|
| @@ -56,5 +62,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
|
|
|