OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_ | |
6 #define CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_ | |
James Cook
2016/10/01 00:16:21
optional: property_util.h is pretty generic. How a
msw
2016/10/03 19:14:23
I'm following the example of ash/mus/property_util
| |
7 | |
8 #include "base/strings/string16.h" | |
9 #include "ui/aura/window.h" | |
10 | |
11 // These utility functions set ui::Window properties when running in mash, or | |
12 // they set aura::Window properties when running in classic ash (without mus). | |
13 | |
14 // Sets the |value| of the given window |property|; supports limited properties. | |
15 void SetIntProperty(aura::Window* window, | |
16 const aura::WindowProperty<int>* property, | |
17 int value); | |
18 | |
19 // Set the aura::Window title value or the ui::Window title property value. | |
20 void SetTitle(aura::Window* window, const base::string16& value); | |
21 | |
22 #endif // CHROME_BROWSER_UI_ASH_PROPERTY_UTIL_H_ | |
OLD | NEW |