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

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

Issue 300863003: Wire input events through the ViewManagerClient interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: , Created 6 years, 6 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 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool originated_change); 70 bool originated_change);
71 void ProcessNodeHierarchyChanged(const Node* node, 71 void ProcessNodeHierarchyChanged(const Node* node,
72 const Node* new_parent, 72 const Node* new_parent,
73 const Node* old_parent, 73 const Node* old_parent,
74 TransportChangeId server_change_id, 74 TransportChangeId server_change_id,
75 bool originated_change); 75 bool originated_change);
76 void ProcessNodeViewReplaced(const Node* node, 76 void ProcessNodeViewReplaced(const Node* node,
77 const View* new_view, 77 const View* new_view,
78 const View* old_view, 78 const View* old_view,
79 bool originated_change); 79 bool originated_change);
80 void ProcessViewInputEvent(const View* view, const ui::Event* event);
80 void ProcessNodeDeleted(const NodeId& node, 81 void ProcessNodeDeleted(const NodeId& node,
81 TransportChangeId server_change_id, 82 TransportChangeId server_change_id,
82 bool originated_change); 83 bool originated_change);
83 void ProcessViewDeleted(const ViewId& view, bool originated_change); 84 void ProcessViewDeleted(const ViewId& view, bool originated_change);
84 85
85 // TODO(sky): move this to private section (currently can't because of 86 // TODO(sky): move this to private section (currently can't because of
86 // bindings). 87 // bindings).
87 // InterfaceImp overrides: 88 // InterfaceImp overrides:
88 virtual void OnConnectionError() MOJO_OVERRIDE; 89 virtual void OnConnectionError() MOJO_OVERRIDE;
89 90
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 mojo::Array<uint32_t> node_ids, 173 mojo::Array<uint32_t> node_ids,
173 const mojo::Callback<void(bool)>& callback) OVERRIDE; 174 const mojo::Callback<void(bool)>& callback) OVERRIDE;
174 175
175 // Overridden from NodeDelegate: 176 // Overridden from NodeDelegate:
176 virtual void OnNodeHierarchyChanged(const Node* node, 177 virtual void OnNodeHierarchyChanged(const Node* node,
177 const Node* new_parent, 178 const Node* new_parent,
178 const Node* old_parent) OVERRIDE; 179 const Node* old_parent) OVERRIDE;
179 virtual void OnNodeViewReplaced(const Node* node, 180 virtual void OnNodeViewReplaced(const Node* node,
180 const View* new_view, 181 const View* new_view,
181 const View* old_view) OVERRIDE; 182 const View* old_view) OVERRIDE;
183 virtual void OnViewInputEvent(const View* view,
184 const ui::Event* event) OVERRIDE;
182 185
183 // InterfaceImp overrides: 186 // InterfaceImp overrides:
184 virtual void OnConnectionEstablished() MOJO_OVERRIDE; 187 virtual void OnConnectionEstablished() MOJO_OVERRIDE;
185 188
186 RootNodeManager* root_node_manager_; 189 RootNodeManager* root_node_manager_;
187 190
188 // Id of this connection as assigned by RootNodeManager. Assigned in 191 // Id of this connection as assigned by RootNodeManager. Assigned in
189 // OnConnectionEstablished(). 192 // OnConnectionEstablished().
190 TransportConnectionId id_; 193 TransportConnectionId id_;
191 194
(...skipping 17 matching lines...) Expand all
209 212
210 #if defined(OS_WIN) 213 #if defined(OS_WIN)
211 #pragma warning(pop) 214 #pragma warning(pop)
212 #endif 215 #endif
213 216
214 } // namespace service 217 } // namespace service
215 } // namespace view_manager 218 } // namespace view_manager
216 } // namespace mojo 219 } // namespace mojo
217 220
218 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_ 221 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_CONNECTION_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/root_node_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