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_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ | 5 #ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ |
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ | 6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/android/jni_array.h" | 9 #include "base/android/jni_array.h" |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "blimp/client/app/session/blimp_client_session.h" |
12 #include "blimp/client/core/contents/android/ime_helper_dialog.h" | 13 #include "blimp/client/core/contents/android/ime_helper_dialog.h" |
13 #include "blimp/client/public/session/assignment.h" | 14 #include "blimp/client/public/session/assignment.h" |
14 #include "blimp/client/session/blimp_client_session.h" | |
15 | 15 |
16 namespace blimp { | 16 namespace blimp { |
17 namespace client { | 17 namespace client { |
18 | 18 |
19 class AssignmentSource; | 19 class AssignmentSource; |
20 | 20 |
21 class BlimpClientSessionAndroid : public BlimpClientSession { | 21 class BlimpClientSessionAndroid : public BlimpClientSession { |
22 public: | 22 public: |
23 static bool RegisterJni(JNIEnv* env); | 23 static bool RegisterJni(JNIEnv* env); |
24 static BlimpClientSessionAndroid* FromJavaObject( | 24 static BlimpClientSessionAndroid* FromJavaObject( |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // Reference to the Java object which owns this class. | 63 // Reference to the Java object which owns this class. |
64 base::android::ScopedJavaGlobalRef<jobject> java_obj_; | 64 base::android::ScopedJavaGlobalRef<jobject> java_obj_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid); | 66 DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionAndroid); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace client | 69 } // namespace client |
70 } // namespace blimp | 70 } // namespace blimp |
71 | 71 |
72 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ | 72 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_ |
OLD | NEW |