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

Side by Side Diff: ash/public/cpp/shell_window_ids.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/shelf_types.h ('k') | ash/public/cpp/window_properties.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ 5 #ifndef ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_
6 #define ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ 6 #define ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "ash/public/cpp/ash_public_export.h"
12
11 // Declarations of ids of special shell windows. 13 // Declarations of ids of special shell windows.
12 14
13 namespace ash { 15 namespace ash {
14 16
15 // Used to indicate no shell window id. 17 // Used to indicate no shell window id.
16 const int32_t kShellWindowId_Invalid = -1; 18 const int32_t kShellWindowId_Invalid = -1;
17 19
18 // A higher-level container that holds all of the containers stacked below 20 // A higher-level container that holds all of the containers stacked below
19 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for 21 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
20 // animating lower-level containers. 22 // animating lower-level containers.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const int32_t kShellWindowId_MouseCursorContainer = 24; 106 const int32_t kShellWindowId_MouseCursorContainer = 24;
105 107
106 // The topmost container, used for power off animation. 108 // The topmost container, used for power off animation.
107 const int32_t kShellWindowId_PowerButtonAnimationContainer = 25; 109 const int32_t kShellWindowId_PowerButtonAnimationContainer = 25;
108 110
109 const int32_t kShellWindowId_Min = 0; 111 const int32_t kShellWindowId_Min = 0;
110 const int32_t kShellWindowId_Max = kShellWindowId_PowerButtonAnimationContainer; 112 const int32_t kShellWindowId_Max = kShellWindowId_PowerButtonAnimationContainer;
111 113
112 // These are the list of container ids of containers which may contain windows 114 // These are the list of container ids of containers which may contain windows
113 // that need to be activated. 115 // that need to be activated.
114 extern const int32_t kActivatableShellWindowIds[]; 116 ASH_PUBLIC_EXPORT extern const int32_t kActivatableShellWindowIds[];
115 extern const size_t kNumActivatableShellWindowIds; 117 ASH_PUBLIC_EXPORT extern const size_t kNumActivatableShellWindowIds;
116 118
117 // Returns true if |id| is in |kActivatableShellWindowIds|. 119 // Returns true if |id| is in |kActivatableShellWindowIds|.
118 bool IsActivatableShellWindowId(int32_t id); 120 ASH_PUBLIC_EXPORT bool IsActivatableShellWindowId(int32_t id);
119 121
120 } // namespace ash 122 } // namespace ash
121 123
122 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_ 124 #endif // ASH_PUBLIC_CPP_SHELL_WINDOW_IDS_H_
OLDNEW
« no previous file with comments | « ash/public/cpp/shelf_types.h ('k') | ash/public/cpp/window_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698