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