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

Side by Side Diff: mash/wm/container_ids.h

Issue 1980593002: Changes container names and adds a couple of more (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change include Created 4 years, 7 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 | « mash/wm/BUILD.gn ('k') | mash/wm/container_ids.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 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 MASH_WM_CONTAINER_IDS_H_
6 #define MASH_WM_CONTAINER_IDS_H_
7
8 #include <stddef.h>
9
10 namespace mash {
11 namespace wm {
12 namespace mojom {
13 enum class Container;
14 }
15
16 // Id used when there is no corresponding ash container.
17 const int kUnknownAshId = -1;
18
19 // The set of containers that allow their children to be active.
20 extern const mojom::Container kActivationContainers[];
21
22 // Number of kActivationContainers.
23 extern const size_t kNumActivationContainers;
24
25 // Converts window ids between ash (ash/wm/common/wm_shell_window_ids.h) and
26 // mash.
27 mojom::Container AshContainerToMashContainer(int shell_window_id);
28 int MashContainerToAshContainer(mojom::Container container);
29
30 } // namespace wm
31 } // namespace mash
32
33 #endif // MASH_WM_CONTAINER_IDS_H_
OLDNEW
« no previous file with comments | « mash/wm/BUILD.gn ('k') | mash/wm/container_ids.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698