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

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

Issue 2445163002: Make aura work with mus (Closed)
Patch Set: NON_EXPORTED_BASE_CLASS 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
« no previous file with comments | « ui/aura/mus/input_method_mus.cc ('k') | ui/aura/mus/property_converter.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 2014 The Chromium Authors. All rights reserved. 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 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 SERVICES_UI_COMMON_TYPES_H_ 5 #ifndef UI_AURA_MUS_MUS_TYPES_H_
6 #define SERVICES_UI_COMMON_TYPES_H_ 6 #define UI_AURA_MUS_MUS_TYPES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 // Typedefs for the transport types. These typedefs match that of the mojom 10 // Typedefs for the transport types. These typedefs match that of the mojom
11 // file, see it for specifics. 11 // file, see it for specifics.
12 12
13 namespace ui { 13 namespace aura {
14 14
15 // Used to identify windows and change ids. 15 // Used to identify windows and change ids.
16 typedef uint32_t Id; 16 using Id = uint32_t;
17 17
18 // Used to identify a client as well as a client-specific window id. For 18 // Used to identify a client as well as a client-specific window id. For
19 // example, the Id for a window consists of the ClientSpecificId of the client 19 // example, the Id for a window consists of the ClientSpecificId of the client
20 // and the ClientSpecificId of the window. 20 // and the ClientSpecificId of the window.
21 typedef uint16_t ClientSpecificId; 21 using ClientSpecificId = uint16_t;
22
23 constexpr Id kInvalidServerId = 0;
22 24
23 } // namespace ui 25 } // namespace ui
24 26
25 #endif // SERVICES_UI_COMMON_TYPES_H_ 27 #endif // UI_AURA_MUS_MUS_TYPES_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/input_method_mus.cc ('k') | ui/aura/mus/property_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698