| 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 COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 5 #ifndef COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
| 6 #define COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 6 #define COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 base::string16 text; | 51 base::string16 text; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 int render_process_id_; | 54 int render_process_id_; |
| 55 | 55 |
| 56 std::unique_ptr<SpellingRequest> active_request_; | 56 std::unique_ptr<SpellingRequest> active_request_; |
| 57 std::unique_ptr<SpellingRequest> pending_request_; | 57 std::unique_ptr<SpellingRequest> pending_request_; |
| 58 | 58 |
| 59 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 59 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 60 bool java_object_initialization_failed_; | 60 bool java_object_initialization_failed_; |
| 61 bool active_session_; |
| 61 | 62 |
| 62 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge); | 63 DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 #endif // COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ | 66 #endif // COMPONENTS_SPELLCHECK_BROWSER_SPELLCHECKER_SESSION_BRIDGE_ANDROID_H_ |
| OLD | NEW |