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

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

Issue 275853002: Revert of Wires up view manager to an actual display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_VIEW_MANAGER_CONNECTION_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const Callback<void(Array<INode>)>& callback) OVERRIDE; 94 const Callback<void(Array<INode>)>& callback) OVERRIDE;
95 virtual void CreateView(TransportConnectionSpecificViewId view_id, 95 virtual void CreateView(TransportConnectionSpecificViewId view_id,
96 const Callback<void(bool)>& callback) OVERRIDE; 96 const Callback<void(bool)>& callback) OVERRIDE;
97 virtual void DeleteView(TransportViewId transport_view_id, 97 virtual void DeleteView(TransportViewId transport_view_id,
98 TransportChangeId change_id, 98 TransportChangeId change_id,
99 const Callback<void(bool)>& callback) OVERRIDE; 99 const Callback<void(bool)>& callback) OVERRIDE;
100 virtual void SetView(TransportNodeId transport_node_id, 100 virtual void SetView(TransportNodeId transport_node_id,
101 TransportViewId transport_view_id, 101 TransportViewId transport_view_id,
102 TransportChangeId change_id, 102 TransportChangeId change_id,
103 const Callback<void(bool)>& callback) OVERRIDE; 103 const Callback<void(bool)>& callback) OVERRIDE;
104 virtual void SetViewContents(TransportViewId view_id,
105 ScopedSharedBufferHandle buffer,
106 uint32_t buffer_size) OVERRIDE;
107 104
108 // Overridden from NodeDelegate: 105 // Overridden from NodeDelegate:
109 virtual void OnNodeHierarchyChanged(const NodeId& node, 106 virtual void OnNodeHierarchyChanged(const NodeId& node,
110 const NodeId& new_parent, 107 const NodeId& new_parent,
111 const NodeId& old_parent) OVERRIDE; 108 const NodeId& old_parent) OVERRIDE;
112 virtual void OnNodeViewReplaced(const NodeId& node, 109 virtual void OnNodeViewReplaced(const NodeId& node,
113 const ViewId& new_view_id, 110 const ViewId& new_view_id,
114 const ViewId& old_view_id) OVERRIDE; 111 const ViewId& old_view_id) OVERRIDE;
115 112
116 // Id of this connection as assigned by RootNodeManager. Assigned in 113 // Id of this connection as assigned by RootNodeManager. Assigned in
117 // Initialize(). 114 // Initialize().
118 TransportConnectionId id_; 115 TransportConnectionId id_;
119 116
120 NodeMap node_map_; 117 NodeMap node_map_;
121 118
122 ViewMap view_map_; 119 ViewMap view_map_;
123 120
124 DISALLOW_COPY_AND_ASSIGN(ViewManagerConnection); 121 DISALLOW_COPY_AND_ASSIGN(ViewManagerConnection);
125 }; 122 };
126 123
127 } // namespace view_manager 124 } // namespace view_manager
128 } // namespace services 125 } // namespace services
129 } // namespace mojo 126 } // namespace mojo
130 127
131 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_ 128 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/view_manager.cc ('k') | mojo/services/view_manager/view_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698