Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: blimp/client/app/android/web_input_box.h

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 23 matching lines...) Expand all
34 34
35 // Methods called from Java via JNI. 35 // Methods called from Java via JNI.
36 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj); 36 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
37 37
38 // Sends the text entered from IME to the blimp engine 38 // Sends the text entered from IME to the blimp engine
39 void OnImeTextEntered(JNIEnv* env, 39 void OnImeTextEntered(JNIEnv* env,
40 const base::android::JavaParamRef<jobject>& jobj, 40 const base::android::JavaParamRef<jobject>& jobj,
41 const base::android::JavaParamRef<jstring>& text); 41 const base::android::JavaParamRef<jstring>& text);
42 42
43 private: 43 private:
44 virtual ~WebInputBox(); 44 ~WebInputBox() override;
45 45
46 // Reference to the Java object which owns this class. 46 // Reference to the Java object which owns this class.
47 base::android::ScopedJavaGlobalRef<jobject> java_obj_; 47 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
48 48
49 // A bridge to the network layer which does the work of (de)serializing the 49 // A bridge to the network layer which does the work of (de)serializing the
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698