Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h

Issue 2545723003: ash: Add SessionController/Client mojo interfaces (Closed)
Patch Set: rebase, use ash_util::GetAshServiceName Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/chrome_browser_main_extra_parts.h" 11 #include "chrome/browser/chrome_browser_main_extra_parts.h"
12 12
13 class CastConfigClientMediaRouter; 13 class CastConfigClientMediaRouter;
14 class ChromeLauncherControllerMus; 14 class ChromeLauncherControllerMus;
15 class ChromeNewWindowClient; 15 class ChromeNewWindowClient;
16 class ImmersiveContextMus; 16 class ImmersiveContextMus;
17 class ImmersiveHandlerFactoryMus; 17 class ImmersiveHandlerFactoryMus;
18 class SessionControllerClient;
18 class SystemTrayClient; 19 class SystemTrayClient;
19 class VolumeController; 20 class VolumeController;
20 class VpnListForwarder; 21 class VpnListForwarder;
21 22
22 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts { 23 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts {
23 public: 24 public:
24 ChromeBrowserMainExtraPartsAsh(); 25 ChromeBrowserMainExtraPartsAsh();
25 ~ChromeBrowserMainExtraPartsAsh() override; 26 ~ChromeBrowserMainExtraPartsAsh() override;
26 27
27 // Overridden from ChromeBrowserMainExtraParts: 28 // Overridden from ChromeBrowserMainExtraParts:
28 void PreProfileInit() override; 29 void PreProfileInit() override;
29 void PostProfileInit() override; 30 void PostProfileInit() override;
30 void PostMainMessageLoopRun() override; 31 void PostMainMessageLoopRun() override;
31 32
32 private: 33 private:
33 std::unique_ptr<ChromeLauncherControllerMus> chrome_launcher_controller_mus_; 34 std::unique_ptr<ChromeLauncherControllerMus> chrome_launcher_controller_mus_;
34 std::unique_ptr<CastConfigClientMediaRouter> cast_config_client_media_router_; 35 std::unique_ptr<CastConfigClientMediaRouter> cast_config_client_media_router_;
35 std::unique_ptr<ImmersiveHandlerFactoryMus> immersive_handler_factory_; 36 std::unique_ptr<ImmersiveHandlerFactoryMus> immersive_handler_factory_;
36 std::unique_ptr<ImmersiveContextMus> immersive_context_; 37 std::unique_ptr<ImmersiveContextMus> immersive_context_;
38 std::unique_ptr<SessionControllerClient> session_controller_client_;
37 std::unique_ptr<SystemTrayClient> system_tray_client_; 39 std::unique_ptr<SystemTrayClient> system_tray_client_;
38 std::unique_ptr<ChromeNewWindowClient> new_window_client_; 40 std::unique_ptr<ChromeNewWindowClient> new_window_client_;
39 std::unique_ptr<VolumeController> volume_controller_; 41 std::unique_ptr<VolumeController> volume_controller_;
40 std::unique_ptr<VpnListForwarder> vpn_list_forwarder_; 42 std::unique_ptr<VpnListForwarder> vpn_list_forwarder_;
41 43
42 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh); 44 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh);
43 }; 45 };
44 46
45 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 47 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698