Index: ash/mus/property_util.cc |
diff --git a/ash/mus/property_util.cc b/ash/mus/property_util.cc |
index e06a6eda2d975dd7fefa316baa996eb002aa45f6..39efee2553a351144f914e7c23eb51530b79f223 100644 |
--- a/ash/mus/property_util.cc |
+++ b/ash/mus/property_util.cc |
@@ -82,6 +82,12 @@ bool GetRequestedContainer(const ui::Window* window, |
return true; |
} |
+void SetResizeBehavior(ui::Window::SharedProperties* properties, |
+ int32_t resize_behavior) { |
+ (*properties)[ui::mojom::WindowManager::kResizeBehavior_Property] = |
+ mojo::ConvertTo<std::vector<uint8_t>>(resize_behavior); |
+} |
+ |
int32_t GetResizeBehavior(const ui::Window* window) { |
if (window->HasSharedProperty( |
ui::mojom::WindowManager::kResizeBehavior_Property)) { |