| OLD | NEW |
| 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_INIT_SERVICE_CONTEXT_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_CONTEXT_H_ |
| 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_CONTEXT_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "mojo/public/cpp/application/application_connection.h" | 11 #include "mojo/public/cpp/application/application_connection.h" |
| 12 #include "mojo/public/cpp/application/application_delegate.h" | 12 #include "mojo/public/cpp/application/application_delegate.h" |
| 13 #include "mojo/services/view_manager/root_view_manager_delegate.h" | 13 #include "mojo/services/view_manager/root_view_manager_delegate.h" |
| 14 #include "mojo/services/view_manager/view_manager_export.h" | 14 #include "mojo/services/view_manager/view_manager_export.h" |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace view_manager { | |
| 18 namespace service { | 17 namespace service { |
| 19 | 18 |
| 20 class RootNodeManager; | 19 class RootNodeManager; |
| 21 class ViewManagerInitServiceImpl; | 20 class ViewManagerInitServiceImpl; |
| 22 | 21 |
| 23 // State shared between all ViewManagerInitService impls. | 22 // State shared between all ViewManagerInitService impls. |
| 24 class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext | 23 class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext |
| 25 : public RootViewManagerDelegate { | 24 : public RootViewManagerDelegate { |
| 26 public: | 25 public: |
| 27 ViewManagerInitServiceContext(); | 26 ViewManagerInitServiceContext(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 46 | 45 |
| 47 scoped_ptr<RootNodeManager> root_node_manager_; | 46 scoped_ptr<RootNodeManager> root_node_manager_; |
| 48 Connections connections_; | 47 Connections connections_; |
| 49 | 48 |
| 50 bool is_tree_host_ready_; | 49 bool is_tree_host_ready_; |
| 51 | 50 |
| 52 DISALLOW_COPY_AND_ASSIGN(ViewManagerInitServiceContext); | 51 DISALLOW_COPY_AND_ASSIGN(ViewManagerInitServiceContext); |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 } // namespace service | 54 } // namespace service |
| 56 } // namespace view_manager | |
| 57 } // namespace mojo | 55 } // namespace mojo |
| 58 | 56 |
| 59 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_CONTEXT_H_ | 57 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_CONTEXT_H_ |
| OLD | NEW |