Chromium Code Reviews| Index: mojo/services/view_manager/view_manager_init_service_context.h |
| diff --git a/mojo/services/view_manager/view_manager_init_service_context.h b/mojo/services/view_manager/view_manager_init_service_context.h |
| index b87b9a327a6ace55166941be92f842937b3162d1..dad453a85b05588fc5dcd9144cd180e59cd39f81 100644 |
| --- a/mojo/services/view_manager/view_manager_init_service_context.h |
| +++ b/mojo/services/view_manager/view_manager_init_service_context.h |
| @@ -11,7 +11,6 @@ |
| #include "base/memory/scoped_vector.h" |
|
sky
2014/09/03 22:45:28
nit: shouldn't be needed anymore.
jamesr
2014/09/03 23:32:47
Done.
|
| #include "mojo/public/cpp/application/application_connection.h" |
| #include "mojo/public/cpp/application/application_delegate.h" |
| -#include "mojo/services/view_manager/display_manager_delegate.h" |
| #include "mojo/services/view_manager/view_manager_export.h" |
| namespace mojo { |
| @@ -21,8 +20,7 @@ class ConnectionManager; |
| class ViewManagerInitServiceImpl; |
| // State shared between all ViewManagerInitService impls. |
| -class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext |
| - : public DisplayManagerDelegate { |
| +class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext { |
| public: |
| ViewManagerInitServiceContext(); |
| virtual ~ViewManagerInitServiceContext(); |
| @@ -38,8 +36,6 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext |
| ConnectionManager* connection_manager() { return connection_manager_.get(); } |
| - bool is_tree_host_ready() const { return is_tree_host_ready_; } |
| - |
| private: |
| typedef std::vector<ViewManagerInitServiceImpl*> Connections; |
| @@ -52,22 +48,11 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceContext |
| Callback<void(bool)> callback; |
| }; |
| - // DisplayManagerDelegate overrides: |
| - virtual void OnDisplayManagerWindowTreeHostCreated() OVERRIDE; |
| - |
| void OnNativeViewportDeleted(); |
| - void MaybeEmbed(); |
| - |
| scoped_ptr<ConnectionManager> connection_manager_; |
| Connections connections_; |
| - // Stores information about inbound calls to Embed() pending execution on |
| - // the window tree host being ready to use. |
| - ScopedVector<ConnectParams> connect_params_; |
| - |
| - bool is_tree_host_ready_; |
| - |
| bool deleting_connection_; |
| DISALLOW_COPY_AND_ASSIGN(ViewManagerInitServiceContext); |