| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 5 #ifndef ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
| 6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 std::unique_ptr<aura::WindowTreeClient> window_tree_client, | 77 std::unique_ptr<aura::WindowTreeClient> window_tree_client, |
| 78 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool, | 78 const scoped_refptr<base::SequencedWorkerPool>& blocking_pool, |
| 79 bool init_network_handler); | 79 bool init_network_handler); |
| 80 | 80 |
| 81 // Initializes lower-level OS-specific components (e.g. D-Bus services). | 81 // Initializes lower-level OS-specific components (e.g. D-Bus services). |
| 82 void InitializeComponents(bool init_network_handler); | 82 void InitializeComponents(bool init_network_handler); |
| 83 void ShutdownComponents(); | 83 void ShutdownComponents(); |
| 84 | 84 |
| 85 // service_manager::Service: | 85 // service_manager::Service: |
| 86 void OnStart() override; | 86 void OnStart() override; |
| 87 void OnBindInterface(const service_manager::ServiceInfo& source_info, | 87 void OnBindInterface(const service_manager::BindSourceInfo& source_info, |
| 88 const std::string& interface_name, | 88 const std::string& interface_name, |
| 89 mojo::ScopedMessagePipeHandle interface_pipe) override; | 89 mojo::ScopedMessagePipeHandle interface_pipe) override; |
| 90 | 90 |
| 91 const bool show_primary_host_on_connect_; | 91 const bool show_primary_host_on_connect_; |
| 92 | 92 |
| 93 tracing::Provider tracing_; | 93 tracing::Provider tracing_; |
| 94 | 94 |
| 95 std::unique_ptr<views::AuraInit> aura_init_; | 95 std::unique_ptr<views::AuraInit> aura_init_; |
| 96 | 96 |
| 97 std::unique_ptr<WindowManager> window_manager_; | 97 std::unique_ptr<WindowManager> window_manager_; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 109 | 109 |
| 110 const Config ash_config_; | 110 const Config ash_config_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); | 112 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace mus | 115 } // namespace mus |
| 116 } // namespace ash | 116 } // namespace ash |
| 117 | 117 |
| 118 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ | 118 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ |
| OLD | NEW |