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

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

Issue 338353006: Changes routing of input events in view manager (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
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // to avoid sending ServerChangeIdAdvanced() unnecessarily. 122 // to avoid sending ServerChangeIdAdvanced() unnecessarily.
123 void OnConnectionMessagedClient(ConnectionSpecificId id); 123 void OnConnectionMessagedClient(ConnectionSpecificId id);
124 124
125 // Returns true if OnConnectionMessagedClient() was invoked for id. 125 // Returns true if OnConnectionMessagedClient() was invoked for id.
126 bool DidConnectionMessageClient(ConnectionSpecificId id) const; 126 bool DidConnectionMessageClient(ConnectionSpecificId id) const;
127 127
128 ViewManagerServiceImpl* GetConnectionByCreator( 128 ViewManagerServiceImpl* GetConnectionByCreator(
129 ConnectionSpecificId creator_id, 129 ConnectionSpecificId creator_id,
130 const std::string& url) const; 130 const std::string& url) const;
131 131
132 void DispatchViewInputEventToWindowManager(const View* view,
133 const ui::Event* event);
134
132 // These functions trivially delegate to all ViewManagerServiceImpls, which in 135 // These functions trivially delegate to all ViewManagerServiceImpls, which in
133 // term notify their clients. 136 // term notify their clients.
134 void ProcessNodeBoundsChanged(const Node* node, 137 void ProcessNodeBoundsChanged(const Node* node,
135 const gfx::Rect& old_bounds, 138 const gfx::Rect& old_bounds,
136 const gfx::Rect& new_bounds); 139 const gfx::Rect& new_bounds);
137 void ProcessNodeHierarchyChanged(const Node* node, 140 void ProcessNodeHierarchyChanged(const Node* node,
138 const Node* new_parent, 141 const Node* new_parent,
139 const Node* old_parent); 142 const Node* old_parent);
140 void ProcessNodeReorder(const Node* node, 143 void ProcessNodeReorder(const Node* node,
141 const Node* relative_node, 144 const Node* relative_node,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 ScopedChange* current_change_; 215 ScopedChange* current_change_;
213 216
214 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); 217 DISALLOW_COPY_AND_ASSIGN(RootNodeManager);
215 }; 218 };
216 219
217 } // namespace service 220 } // namespace service
218 } // namespace view_manager 221 } // namespace view_manager
219 } // namespace mojo 222 } // namespace mojo
220 223
221 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 224 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698