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