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

Side by Side Diff: components/mus/ws/ids.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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 | « components/mus/ws/forwarding_window_manager.h ('k') | components/mus/ws/server_window.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 2014 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 COMPONENTS_MUS_WS_IDS_H_ 5 #ifndef COMPONENTS_MUS_WS_IDS_H_
6 #define COMPONENTS_MUS_WS_IDS_H_ 6 #define COMPONENTS_MUS_WS_IDS_H_
7 7
8 #include <stdint.h>
9
8 #include <tuple> 10 #include <tuple>
9 11
10 #include "components/mus/common/types.h" 12 #include "components/mus/common/types.h"
11 #include "components/mus/common/util.h" 13 #include "components/mus/common/util.h"
12 14
13 namespace mus { 15 namespace mus {
14 16
15 namespace ws { 17 namespace ws {
16 18
17 // Connection id is used to indicate no connection. That is, no WindowTreeImpl 19 // Connection id is used to indicate no connection. That is, no WindowTreeImpl
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Returns a root window id with a given index offset. 58 // Returns a root window id with a given index offset.
57 inline WindowId RootWindowId(uint16_t index) { 59 inline WindowId RootWindowId(uint16_t index) {
58 return WindowId(kInvalidConnectionId, 2 + index); 60 return WindowId(kInvalidConnectionId, 2 + index);
59 } 61 }
60 62
61 } // namespace ws 63 } // namespace ws
62 64
63 } // namespace mus 65 } // namespace mus
64 66
65 #endif // COMPONENTS_MUS_WS_IDS_H_ 67 #endif // COMPONENTS_MUS_WS_IDS_H_
OLDNEW
« no previous file with comments | « components/mus/ws/forwarding_window_manager.h ('k') | components/mus/ws/server_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698