| Index: mojo/services/public/cpp/view_manager/view_manager.h
|
| diff --git a/mojo/services/public/cpp/view_manager/view_manager.h b/mojo/services/public/cpp/view_manager/view_manager.h
|
| index a06d566bafdd4fa9e997662273eb69a84d7ea1bf..380974cacdbb32911c1568922268fd65c8aa6fa1 100644
|
| --- a/mojo/services/public/cpp/view_manager/view_manager.h
|
| +++ b/mojo/services/public/cpp/view_manager/view_manager.h
|
| @@ -17,6 +17,7 @@ class Shell;
|
| namespace services {
|
| namespace view_manager {
|
|
|
| +class View;
|
| class ViewManagerSynchronizer;
|
| class ViewTreeNode;
|
|
|
| @@ -44,16 +45,19 @@ class ViewManager {
|
| ViewTreeNode* tree() { return tree_; }
|
|
|
| ViewTreeNode* GetNodeById(TransportNodeId id);
|
| + View* GetViewById(TransportViewId id);
|
|
|
| private:
|
| friend class ViewManagerPrivate;
|
| typedef std::map<TransportNodeId, ViewTreeNode*> IdToNodeMap;
|
| + typedef std::map<TransportViewId, View*> IdToViewMap;
|
|
|
| Shell* shell_;
|
| scoped_ptr<ViewManagerSynchronizer> synchronizer_;
|
| ViewTreeNode* tree_;
|
|
|
| IdToNodeMap nodes_;
|
| + IdToViewMap views_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ViewManager);
|
| };
|
|
|