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

Side by Side Diff: mojo/services/view_manager/root_node_manager.h

Issue 372273004: Shutdown cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | Annotate | Revision Log
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_ROOT_NODE_MANAGER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const ChangeType change_type_; 75 const ChangeType change_type_;
76 const bool is_delete_node_; 76 const bool is_delete_node_;
77 77
78 // See description of MarkConnectionAsMessaged/DidMessageConnection. 78 // See description of MarkConnectionAsMessaged/DidMessageConnection.
79 std::set<ConnectionSpecificId> message_ids_; 79 std::set<ConnectionSpecificId> message_ids_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(ScopedChange); 81 DISALLOW_COPY_AND_ASSIGN(ScopedChange);
82 }; 82 };
83 83
84 RootNodeManager(ApplicationConnection* app_connection, 84 RootNodeManager(ApplicationConnection* app_connection,
85 RootViewManagerDelegate* view_manager_delegate); 85 RootViewManagerDelegate* view_manager_delegate,
86 const Callback<void()>& native_viewport_closed_callback);
86 virtual ~RootNodeManager(); 87 virtual ~RootNodeManager();
87 88
88 // Returns the id for the next ViewManagerServiceImpl. 89 // Returns the id for the next ViewManagerServiceImpl.
89 ConnectionSpecificId GetAndAdvanceNextConnectionId(); 90 ConnectionSpecificId GetAndAdvanceNextConnectionId();
90 91
91 Id next_server_change_id() const { 92 Id next_server_change_id() const {
92 return next_server_change_id_; 93 return next_server_change_id_;
93 } 94 }
94 95
95 void AddConnection(ViewManagerServiceImpl* connection); 96 void AddConnection(ViewManagerServiceImpl* connection);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 ScopedChange* current_change_; 228 ScopedChange* current_change_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); 230 DISALLOW_COPY_AND_ASSIGN(RootNodeManager);
230 }; 231 };
231 232
232 } // namespace service 233 } // namespace service
233 } // namespace view_manager 234 } // namespace view_manager
234 } // namespace mojo 235 } // namespace mojo
235 236
236 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 237 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698