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

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

Issue 354933002: Connect X11 ConfigureNotify events to Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed double-notification for node bounds changes 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // Implementation of the two embed variants. 184 // Implementation of the two embed variants.
185 ViewManagerServiceImpl* EmbedImpl(ConnectionSpecificId creator_id, 185 ViewManagerServiceImpl* EmbedImpl(ConnectionSpecificId creator_id,
186 const String& url, 186 const String& url,
187 const Array<Id>& node_ids); 187 const Array<Id>& node_ids);
188 188
189 // Overridden from NodeDelegate: 189 // Overridden from NodeDelegate:
190 virtual void OnNodeHierarchyChanged(const Node* node, 190 virtual void OnNodeHierarchyChanged(const Node* node,
191 const Node* new_parent, 191 const Node* new_parent,
192 const Node* old_parent) OVERRIDE; 192 const Node* old_parent) OVERRIDE;
193 virtual void OnNodeBoundsChanged(const Node* node,
194 const gfx::Rect& old_bounds,
195 const gfx::Rect& new_bounds) OVERRIDE;
193 virtual void OnNodeViewReplaced(const Node* node, 196 virtual void OnNodeViewReplaced(const Node* node,
194 const View* new_view, 197 const View* new_view,
195 const View* old_view) OVERRIDE; 198 const View* old_view) OVERRIDE;
196 virtual void OnViewInputEvent(const View* view, 199 virtual void OnViewInputEvent(const View* view,
197 const ui::Event* event) OVERRIDE; 200 const ui::Event* event) OVERRIDE;
198 201
199 Context context_; 202 Context context_;
200 203
201 ApplicationConnection* app_connection_; 204 ApplicationConnection* app_connection_;
202 205
(...skipping 19 matching lines...) Expand all
222 ScopedChange* current_change_; 225 ScopedChange* current_change_;
223 226
224 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); 227 DISALLOW_COPY_AND_ASSIGN(RootNodeManager);
225 }; 228 };
226 229
227 } // namespace service 230 } // namespace service
228 } // namespace view_manager 231 } // namespace view_manager
229 } // namespace mojo 232 } // namespace mojo
230 233
231 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 234 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/node_delegate.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