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

Side by Side Diff: services/view_manager/ids.h

Issue 774473003: Move view_manager service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698