| 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 COMPONENTS_MUS_MUS_APP_H_ | 5 #ifndef COMPONENTS_MUS_MUS_APP_H_ |
| 6 #define COMPONENTS_MUS_MUS_APP_H_ | 6 #define COMPONENTS_MUS_MUS_APP_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 void InitializeResources(mojo::Connector* connector); | 63 void InitializeResources(mojo::Connector* connector); |
| 64 | 64 |
| 65 // mojo::ShellClient: | 65 // mojo::ShellClient: |
| 66 void Initialize(mojo::Connector* connector, const std::string& url, | 66 void Initialize(mojo::Connector* connector, const std::string& url, |
| 67 const std::string& user_id, uint32_t id) override; | 67 const std::string& user_id, uint32_t id) override; |
| 68 bool AcceptConnection(mojo::Connection* connection) override; | 68 bool AcceptConnection(mojo::Connection* connection) override; |
| 69 | 69 |
| 70 // ConnectionManagerDelegate: | 70 // ConnectionManagerDelegate: |
| 71 void OnFirstDisplayReady() override; | 71 void OnFirstDisplayReady() override; |
| 72 void OnNoMoreRootConnections() override; | 72 void OnNoMoreDisplays() override; |
| 73 scoped_ptr<ws::WindowTreeBinding> CreateWindowTreeBindingForEmbedAtWindow( | 73 scoped_ptr<ws::WindowTreeBinding> CreateWindowTreeBindingForEmbedAtWindow( |
| 74 ws::ConnectionManager* connection_manager, | 74 ws::ConnectionManager* connection_manager, |
| 75 ws::WindowTree* tree, | 75 ws::WindowTree* tree, |
| 76 mojom::WindowTreeRequest tree_request, | 76 mojom::WindowTreeRequest tree_request, |
| 77 mojom::WindowTreeClientPtr client) override; | 77 mojom::WindowTreeClientPtr client) override; |
| 78 void CreateDefaultDisplays() override; | 78 void CreateDefaultDisplays() override; |
| 79 | 79 |
| 80 // mojo::InterfaceFactory<mojom::DisplayManager> implementation. | 80 // mojo::InterfaceFactory<mojom::DisplayManager> implementation. |
| 81 void Create(mojo::Connection* connection, | 81 void Create(mojo::Connection* connection, |
| 82 mojom::DisplayManagerRequest request) override; | 82 mojom::DisplayManagerRequest request) override; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 112 | 112 |
| 113 // Surfaces | 113 // Surfaces |
| 114 scoped_refptr<SurfacesState> surfaces_state_; | 114 scoped_refptr<SurfacesState> surfaces_state_; |
| 115 | 115 |
| 116 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); | 116 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace mus | 119 } // namespace mus |
| 120 | 120 |
| 121 #endif // COMPONENTS_MUS_MUS_APP_H_ | 121 #endif // COMPONENTS_MUS_MUS_APP_H_ |
| OLD | NEW |