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

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

Issue 2664113004: Reland: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Sync and rebase. 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/shell_window_ids.h ('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/ash_public_export.h"
11 #include "ash/public/cpp/shelf_types.h"
12 #include "ui/base/class_property.h"
13
14 namespace aura {
15 template <typename T>
16 using WindowProperty = ui::ClassProperty<T>;
17 }
18
19 namespace ash {
20
21 // Shell-specific window property keys for use by ash and its clients.
22
23 // Alphabetical sort.
24
25 // If true (and the window is a panel), it's attached to its shelf item.
26 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<bool>* const
27 kPanelAttachedKey;
28
29 // A property key to store the type of a window's shelf item.
30 ASH_PUBLIC_EXPORT extern const aura::WindowProperty<int32_t>* const
31 kShelfItemTypeKey;
32
33 // Alphabetical sort.
34
35 } // namespace ash
36
37 #endif // ASH_PUBLIC_CPP_WINDOW_PROPERTIES_H_
OLDNEW
« no previous file with comments | « ash/public/cpp/shell_window_ids.h ('k') | ash/public/cpp/window_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698