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 BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_ | |
6 #define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "blimp/client/linux/blimp_display_manager.h" | |
10 #include "blimp/client/session/blimp_client_session.h" | |
11 #include "blimp/client/session/navigation_feature.h" | |
12 | |
13 namespace ui { | |
14 class PlatformEventSource; | |
15 } | |
16 | |
17 namespace blimp { | |
18 namespace client { | |
19 | |
20 class BlimpClientSessionLinux : public BlimpClientSession, | |
21 public BlimpDisplayManagerDelegate { | |
22 public: | |
23 BlimpClientSessionLinux(); | |
24 ~BlimpClientSessionLinux() override; | |
25 | |
26 // BlimpDisplayManagerDelegate implementation. | |
27 void OnClosed() override; | |
28 | |
29 private: | |
30 scoped_ptr<ui::PlatformEventSource> event_source_; | |
31 scoped_ptr<BlimpDisplayManager> blimp_display_manager_; | |
32 scoped_ptr<NavigationFeature::NavigationFeatureDelegate> | |
33 navigation_feature_delegate_; | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionLinux); | |
36 }; | |
37 | |
38 } // namespace client | |
39 } // namespace blimp | |
40 | |
41 #endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_ | |
OLD | NEW |