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 namespace wayland { |
| 15 class Server; |
| 16 } |
| 17 } |
| 18 |
| 19 class ChromeBrowserMainExtraPartsExo : public ChromeBrowserMainExtraParts { |
| 20 public: |
| 21 ChromeBrowserMainExtraPartsExo(); |
| 22 ~ChromeBrowserMainExtraPartsExo() override; |
| 23 |
| 24 // Overridden from ChromeBrowserMainExtraParts: |
| 25 void PreProfileInit() override; |
| 26 void PostMainMessageLoopRun() override; |
| 27 |
| 28 private: |
| 29 scoped_ptr<exo::Display> display_; |
| 30 scoped_ptr<exo::wayland::Server> wayland_server_; |
| 31 class WaylandWatcher; |
| 32 scoped_ptr<WaylandWatcher> wayland_watcher_; |
| 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsExo); |
| 35 }; |
| 36 |
| 37 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_EXO_H_ |
OLD | NEW |