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

Unified Diff: mojo/services/view_manager/view_manager_connection.h

Issue 272833002: View synchronization (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/view_manager/view.cc ('k') | mojo/services/view_manager/view_manager_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/view_manager_connection.h
diff --git a/mojo/services/view_manager/view_manager_connection.h b/mojo/services/view_manager/view_manager_connection.h
index bebbee956fdbc9ef2af048f7edc6ae0bbcf4e02a..c095ad1433efee9f0dff2db5edc9ae0011f0a199 100644
--- a/mojo/services/view_manager/view_manager_connection.h
+++ b/mojo/services/view_manager/view_manager_connection.h
@@ -21,7 +21,9 @@ namespace view_manager {
class Node;
class RootNodeManager;
+namespace service {
class View;
+}
#if defined(OS_WIN)
// Equivalent of NON_EXPORTED_BASE which does not work with the template snafu
@@ -48,7 +50,7 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
Node* GetNode(const NodeId& id);
// Returns the View with the specified id.
- View* GetView(const ViewId& id);
+ service::View* GetView(const ViewId& id);
// Notifies the client of a hierarchy change.
void NotifyNodeHierarchyChanged(const NodeId& node,
@@ -63,10 +65,13 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection
void NotifyNodeDeleted(const NodeId& node,
TransportChangeId server_change_id,
TransportChangeId client_change_id);
+ void NotifyViewDeleted(const ViewId& view,
+ TransportChangeId server_change_id,
+ TransportChangeId client_change_id);
private:
typedef std::map<TransportConnectionSpecificNodeId, Node*> NodeMap;
- typedef std::map<TransportConnectionSpecificViewId, View*> ViewMap;
+ typedef std::map<TransportConnectionSpecificViewId, service::View*> ViewMap;
// Deletes a node owned by this connection. Returns true on success. |source|
// is the connection that originated the change.
« no previous file with comments | « mojo/services/view_manager/view.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