summaryrefslogtreecommitdiff
path: root/chromium/ui/aura/mus/property_utils.h
blob: 0106d966735084e6ae01640b9ca591f009853e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_AURA_MUS_PROPERTY_UTILS_H_
#define UI_AURA_MUS_PROPERTY_UTILS_H_

#include <stdint.h>

#include "ui/aura/aura_export.h"

namespace ui {
namespace mojom {
enum class WindowType;
}
}

namespace aura {

class Window;

// Configures the two window type properties on |window|. Specifically this
// sets the property client::kWindowTypeKey as well as calling SetType().
// This *must* be called before Init().
AURA_EXPORT void SetWindowType(Window* window,
                               ui::mojom::WindowType window_type);

}  // namespace aura

#endif  // UI_AURA_MUS_PROPERTY_UTILS_H_