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 #include "mash/task_viewer/task_viewer.h" | 5 #include "mash/task_viewer/task_viewer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
18 #include "services/catalog/public/interfaces/catalog.mojom.h" | 18 #include "services/catalog/public/interfaces/catalog.mojom.h" |
19 #include "services/catalog/public/interfaces/constants.mojom.h" | 19 #include "services/catalog/public/interfaces/constants.mojom.h" |
20 #include "services/service_manager/public/cpp/connection.h" | |
21 #include "services/service_manager/public/cpp/connector.h" | 20 #include "services/service_manager/public/cpp/connector.h" |
22 #include "services/service_manager/public/cpp/interface_registry.h" | 21 #include "services/service_manager/public/cpp/interface_registry.h" |
23 #include "services/service_manager/public/cpp/service_context.h" | 22 #include "services/service_manager/public/cpp/service_context.h" |
24 #include "services/service_manager/public/interfaces/constants.mojom.h" | 23 #include "services/service_manager/public/interfaces/constants.mojom.h" |
25 #include "services/service_manager/public/interfaces/service_manager.mojom.h" | 24 #include "services/service_manager/public/interfaces/service_manager.mojom.h" |
26 #include "ui/base/models/table_model.h" | 25 #include "ui/base/models/table_model.h" |
27 #include "ui/base/resource/resource_bundle.h" | 26 #include "ui/base/resource/resource_bundle.h" |
28 #include "ui/resources/grit/ui_resources.h" | 27 #include "ui/resources/grit/ui_resources.h" |
29 #include "ui/views/background.h" | 28 #include "ui/views/background.h" |
30 #include "ui/views/controls/button/md_text_button.h" | 29 #include "ui/views/controls/button/md_text_button.h" |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 windows_.push_back(window); | 335 windows_.push_back(window); |
337 } | 336 } |
338 | 337 |
339 void TaskViewer::Create(const service_manager::Identity& remote_identity, | 338 void TaskViewer::Create(const service_manager::Identity& remote_identity, |
340 ::mash::mojom::LaunchableRequest request) { | 339 ::mash::mojom::LaunchableRequest request) { |
341 bindings_.AddBinding(this, std::move(request)); | 340 bindings_.AddBinding(this, std::move(request)); |
342 } | 341 } |
343 | 342 |
344 } // namespace task_viewer | 343 } // namespace task_viewer |
345 } // namespace main | 344 } // namespace main |
OLD | NEW |