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 CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 int identifier; | 47 int identifier; |
48 base::string16 text; | 48 base::string16 text; |
49 }; | 49 }; |
50 | 50 |
51 int render_process_id_; | 51 int render_process_id_; |
52 | 52 |
53 scoped_ptr<SpellingRequest> active_request_; | 53 scoped_ptr<SpellingRequest> active_request_; |
54 scoped_ptr<SpellingRequest> pending_request_; | 54 scoped_ptr<SpellingRequest> pending_request_; |
55 | 55 |
56 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 56 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 57 bool java_object_initialization_failed_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge); | 59 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge); |
59 }; | 60 }; |
60 | 61 |
61 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 62 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
OLD | NEW |