| 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 MOJO_SERVICES_VIEW_MANAGER_IDS_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_IDS_H_ |
| 6 #define MOJO_SERVICES_VIEW_MANAGER_IDS_H_ | 6 #define SERVICES_VIEW_MANAGER_IDS_H_ |
| 7 | 7 |
| 8 #include "mojo/services/public/cpp/view_manager/types.h" | 8 #include "mojo/services/public/cpp/view_manager/types.h" |
| 9 #include "mojo/services/public/cpp/view_manager/util.h" | 9 #include "mojo/services/public/cpp/view_manager/util.h" |
| 10 | 10 |
| 11 namespace mojo { | 11 namespace mojo { |
| 12 namespace service { | 12 namespace service { |
| 13 | 13 |
| 14 // Connection id is used to indicate no connection. That is, no | 14 // Connection id is used to indicate no connection. That is, no |
| 15 // ViewManagerServiceImpl ever gets this id. | 15 // ViewManagerServiceImpl ever gets this id. |
| 16 const ConnectionSpecificId kInvalidConnectionId = 0; | 16 const ConnectionSpecificId kInvalidConnectionId = 0; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 } | 54 } |
| 55 | 55 |
| 56 // All cloned views use this id. | 56 // All cloned views use this id. |
| 57 inline ViewId ClonedViewId() { | 57 inline ViewId ClonedViewId() { |
| 58 return ViewId(kInvalidConnectionId, 2); | 58 return ViewId(kInvalidConnectionId, 2); |
| 59 } | 59 } |
| 60 | 60 |
| 61 } // namespace service | 61 } // namespace service |
| 62 } // namespace mojo | 62 } // namespace mojo |
| 63 | 63 |
| 64 #endif // MOJO_SERVICES_VIEW_MANAGER_IDS_H_ | 64 #endif // SERVICES_VIEW_MANAGER_IDS_H_ |
| OLD | NEW |