| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WEB_INPUT_BOX_H_ | 5 #ifndef BLIMP_CLIENT_APP_ANDROID_WEB_INPUT_BOX_H_ |
| 6 #define BLIMP_CLIENT_APP_ANDROID_WEB_INPUT_BOX_H_ | 6 #define BLIMP_CLIENT_APP_ANDROID_WEB_INPUT_BOX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "blimp/client/feature/ime_feature.h" | 12 #include "blimp/client/core/contents/ime_feature.h" |
| 13 #include "ui/base/ime/text_input_type.h" | 13 #include "ui/base/ime/text_input_type.h" |
| 14 | 14 |
| 15 namespace blimp { | 15 namespace blimp { |
| 16 namespace client { | 16 namespace client { |
| 17 | 17 |
| 18 // The native component of org.chromium.blimp.input.WebInputBox. | 18 // The native component of org.chromium.blimp.input.WebInputBox. |
| 19 class WebInputBox : public ImeFeature::Delegate { | 19 class WebInputBox : public ImeFeature::Delegate { |
| 20 public: | 20 public: |
| 21 static bool RegisterJni(JNIEnv* env); | 21 static bool RegisterJni(JNIEnv* env); |
| 22 | 22 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 50 // outgoing and incoming BlimpMessage::IME messages from the engine. | 50 // outgoing and incoming BlimpMessage::IME messages from the engine. |
| 51 ImeFeature* ime_feature_; | 51 ImeFeature* ime_feature_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(WebInputBox); | 53 DISALLOW_COPY_AND_ASSIGN(WebInputBox); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace client | 56 } // namespace client |
| 57 } // namespace blimp | 57 } // namespace blimp |
| 58 | 58 |
| 59 #endif // BLIMP_CLIENT_APP_ANDROID_WEB_INPUT_BOX_H_ | 59 #endif // BLIMP_CLIENT_APP_ANDROID_WEB_INPUT_BOX_H_ |
| OLD | NEW |