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

Side by Side Diff: ash/public/cpp/window_properties.h

Issue 2669633003: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Fix ash shell Created 3 years, 10 months 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
« no previous file with comments | « ash/public/cpp/shelf_item_types.cc ('k') | ash/public/cpp/window_properties.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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 ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_
6 #define ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_
7
8 #include <stdint.h>
9
10 #include "ash/public/cpp/shelf_item_types.h"
11 #include "ui/base/class_property.h"
12
13 namespace aura {
14 template <typename T>
15 using WindowProperty = ui::ClassProperty<T>;
16 }
17
18 namespace ash {
19
20 // Shell-specific window property keys for use by ash and its clients.
21
22 // Alphabetical sort.
23
24 // If true (and the window is a panel), it's attached to its shelf item.
25 extern const aura::WindowProperty<bool>* const kPanelAttachedKey;
26
27 // A property key to store the type of a window's shelf item.
28 extern const aura::WindowProperty<int32_t>* const kShelfItemTypeKey;
29
30 // Alphabetical sort.
31
32 } // namespace ash
33
34 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « ash/public/cpp/shelf_item_types.cc ('k') | ash/public/cpp/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698