OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SYSUI_SYSUI_APPLICATION_H_ | 5 #ifndef ASH_SYSUI_SYSUI_APPLICATION_H_ |
6 #define ASH_SYSUI_SYSUI_APPLICATION_H_ | 6 #define ASH_SYSUI_SYSUI_APPLICATION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/sysui/public/interfaces/wallpaper.mojom.h" | 10 #include "ash/sysui/public/interfaces/wallpaper.mojom.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 ~SysUIApplication() override; | 29 ~SysUIApplication() override; |
30 | 30 |
31 private: | 31 private: |
32 // shell::Service: | 32 // shell::Service: |
33 void OnStart(::shell::Connector* connector, | 33 void OnStart(::shell::Connector* connector, |
34 const ::shell::Identity& identity, | 34 const ::shell::Identity& identity, |
35 uint32_t id) override; | 35 uint32_t id) override; |
36 bool OnConnect(shell::Connection* connection) override; | 36 bool OnConnect(shell::Connection* connection) override; |
37 | 37 |
38 // InterfaceFactory<mash::shelf::mojom::ShelfController>: | 38 // InterfaceFactory<mash::shelf::mojom::ShelfController>: |
39 void Create(shell::Connection* connection, | 39 void Create(const shell::Identity& remote_identity, |
40 mash::shelf::mojom::ShelfControllerRequest request) override; | 40 mash::shelf::mojom::ShelfControllerRequest request) override; |
41 | 41 |
42 // InterfaceFactory<mojom::WallpaperController>: | 42 // InterfaceFactory<mojom::WallpaperController>: |
43 void Create(shell::Connection* connection, | 43 void Create(const shell::Identity& remote_identity, |
44 mojom::WallpaperControllerRequest request) override; | 44 mojom::WallpaperControllerRequest request) override; |
45 | 45 |
46 mojo::TracingImpl tracing_; | 46 mojo::TracingImpl tracing_; |
47 std::unique_ptr<AshInit> ash_init_; | 47 std::unique_ptr<AshInit> ash_init_; |
48 | 48 |
49 mojo::BindingSet<mash::shelf::mojom::ShelfController> | 49 mojo::BindingSet<mash::shelf::mojom::ShelfController> |
50 shelf_controller_bindings_; | 50 shelf_controller_bindings_; |
51 mojo::BindingSet<mojom::WallpaperController> wallpaper_controller_bindings_; | 51 mojo::BindingSet<mojom::WallpaperController> wallpaper_controller_bindings_; |
52 | 52 |
53 // Subscribes to updates about input-devices. | 53 // Subscribes to updates about input-devices. |
54 ::ui::InputDeviceClient input_device_client_; | 54 ::ui::InputDeviceClient input_device_client_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(SysUIApplication); | 56 DISALLOW_COPY_AND_ASSIGN(SysUIApplication); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace sysui | 59 } // namespace sysui |
60 } // namespace ash | 60 } // namespace ash |
61 | 61 |
62 #endif // ASH_SYSUI_SYSUI_APPLICATION_H_ | 62 #endif // ASH_SYSUI_SYSUI_APPLICATION_H_ |
OLD | NEW |