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

Side by Side Diff: chrome/browser/chrome_browser_main_extra_parts_exo.h

Issue 2935893004: Add unittest for ArcNotificationContentView (Closed)
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_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 namespace exo { 13 namespace exo {
14 class Display; 14 class Display;
15 class WMHelper; 15 class WMHelper;
16 namespace wayland { 16 namespace wayland {
17 class Server; 17 class Server;
18 } 18 }
19 } 19 }
20 20
21 namespace arc { 21 namespace arc {
22 class ArcNotificationSurfaceManager; 22 class ArcNotificationSurfaceManagerImpl;
23 } 23 }
24 24
25 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts { 25 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts {
26 public: 26 public:
27 ChromeBrowserMainExtraPartsExo(); 27 ChromeBrowserMainExtraPartsExo();
28 ~ChromeBrowserMainExtraPartsExo() override; 28 ~ChromeBrowserMainExtraPartsExo() override;
29 29
30 // Overridden from ChromeBrowserMainExtraParts: 30 // Overridden from ChromeBrowserMainExtraParts:
31 void PreProfileInit() override; 31 void PreProfileInit() override;
32 void PostMainMessageLoopRun() override; 32 void PostMainMessageLoopRun() override;
33 33
34 private: 34 private:
35 std::unique_ptr<arc::ArcNotificationSurfaceManager> 35 std::unique_ptr<arc::ArcNotificationSurfaceManagerImpl>
36 arc_notification_surface_manager_; 36 arc_notification_surface_manager_;
37 std::unique_ptr<exo::WMHelper> wm_helper_; 37 std::unique_ptr<exo::WMHelper> wm_helper_;
38 std::unique_ptr<exo::Display> display_; 38 std::unique_ptr<exo::Display> display_;
39 std::unique_ptr<exo::wayland::Server> wayland_server_; 39 std::unique_ptr<exo::wayland::Server> wayland_server_;
40 class WaylandWatcher; 40 class WaylandWatcher;
41 std::unique_ptr<WaylandWatcher> wayland_watcher_; 41 std::unique_ptr<WaylandWatcher> wayland_watcher_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo); 43 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ 46 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698