Index: ash/wm/property_util.cc |
diff --git a/ash/wm/property_util.cc b/ash/wm/property_util.cc |
index 50a7bedb9c18a98ee3ee8adc9e162ea5d6757e8b..a51d29888d6adc953b6642dedec0bab174efcc5d 100644 |
--- a/ash/wm/property_util.cc |
+++ b/ash/wm/property_util.cc |
@@ -8,6 +8,7 @@ |
#include "ash/wm/window_properties.h" |
#include "ash/wm/window_util.h" |
#include "ui/aura/client/aura_constants.h" |
+#include "ui/aura/root_window.h" |
#include "ui/aura/window.h" |
#include "ui/base/ui_base_types.h" |
#include "ui/gfx/rect.h" |
@@ -72,4 +73,14 @@ void SetDefaultPersistsAcrossAllWorkspaces(bool value) { |
g_default_windows_persist_across_all_workspaces = value; |
} |
+internal::RootWindowController* GetRootWindowController( |
+ aura::RootWindow* root_window) { |
+ return root_window->GetProperty(internal::kRootWindowControllerKey); |
} |
+ |
+void SetRootWindowController(aura::RootWindow* root_window, |
+ internal::RootWindowController* controller) { |
+ root_window->SetProperty(internal::kRootWindowControllerKey, controller); |
+} |
+ |
+} // namespace ash |