Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: ui/aura/mus/property_utils.h

Issue 2514243002: Propagates window type properties during aura-mus window creation (Closed)
Patch Set: return Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 UI_AURA_MUS_PROPERTY_UTILS_H_
6 #define UI_AURA_MUS_PROPERTY_UTILS_H_
7
8 #include <stdint.h>
9
10 #include "ui/aura/aura_export.h"
11
12 namespace ui {
13 namespace mojom {
14 enum class WindowType;
15 }
16 }
17
18 namespace aura {
19
20 class Window;
21
22 // Configures the two window type properties on |window|. Specifically this
23 // sets the property client::kWindowTypeKey as well as calling SetType().
24 // This *must* be called before Init().
25 AURA_EXPORT void SetWindowType(Window* window,
26 ui::mojom::WindowType window_type);
27
28 } // namespace aura
29
30 #endif // UI_AURA_MUS_PROPERTY_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698