| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |