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