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

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

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address comments. Created 4 years, 2 months 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 ChromeLauncherControllerMus;
13 class ImmersiveContextMus; 14 class ImmersiveContextMus;
14 class ImmersiveHandlerFactoryMus; 15 class ImmersiveHandlerFactoryMus;
15 class SystemTrayClient; 16 class SystemTrayClient;
16 17
17 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts { 18 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts {
18 public: 19 public:
19 ChromeBrowserMainExtraPartsAsh(); 20 ChromeBrowserMainExtraPartsAsh();
20 ~ChromeBrowserMainExtraPartsAsh() override; 21 ~ChromeBrowserMainExtraPartsAsh() override;
21 22
22 // Overridden from ChromeBrowserMainExtraParts: 23 // Overridden from ChromeBrowserMainExtraParts:
23 void PreProfileInit() override; 24 void PreProfileInit() override;
24 void PostProfileInit() override; 25 void PostProfileInit() override;
25 void PostMainMessageLoopRun() override; 26 void PostMainMessageLoopRun() override;
26 27
27 private: 28 private:
29 std::unique_ptr<ChromeLauncherControllerMus> chrome_launcher_controller_mus_;
28 std::unique_ptr<ImmersiveHandlerFactoryMus> immersive_handler_factory_; 30 std::unique_ptr<ImmersiveHandlerFactoryMus> immersive_handler_factory_;
29 std::unique_ptr<ImmersiveContextMus> immersive_context_; 31 std::unique_ptr<ImmersiveContextMus> immersive_context_;
30 std::unique_ptr<SystemTrayClient> system_tray_client_; 32 std::unique_ptr<SystemTrayClient> system_tray_client_;
31 33
32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh); 34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh);
33 }; 35 };
34 36
35 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ 37 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698