Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ | |
| 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "chrome/browser/chrome_browser_main_extra_parts.h" | |
| 11 | |
| 12 namespace exo { | |
| 13 class Display; | |
| 14 #if defined(ENABLE_WAYLAND_SERVER) | |
|
sky
2015/11/19 17:55:35
Isn't this code only compiled if ENABLE_WAYLAND_SE
reveman
2015/11/19 18:42:03
No longer needed. Removed them from latest patch.
| |
| 15 namespace wayland { | |
| 16 class Server; | |
| 17 } | |
| 18 #endif | |
| 19 } | |
| 20 | |
| 21 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts { | |
| 22 public: | |
| 23 ChromeBrowserMainExtraPartsExo(); | |
| 24 ~ChromeBrowserMainExtraPartsExo() override; | |
| 25 | |
| 26 // Overridden from ChromeBrowserMainExtraParts: | |
| 27 void PreProfileInit() override; | |
| 28 void PostMainMessageLoopRun() override; | |
| 29 | |
| 30 private: | |
| 31 scoped_ptr<exo::Display> display_; | |
| 32 #if defined(ENABLE_WAYLAND_SERVER) | |
| 33 scoped_ptr<exo::wayland::Server> wayland_server_; | |
| 34 class WaylandWatcher; | |
| 35 scoped_ptr<WaylandWatcher> wayland_watcher_; | |
| 36 #endif | |
| 37 | |
| 38 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo); | |
| 39 }; | |
| 40 | |
| 41 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ | |
| OLD | NEW |