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