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

Unified Diff: blimp/client/core/contents/android/ime_helper_dialog.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/android/ime_helper_dialog.h
diff --git a/blimp/client/core/contents/android/ime_helper_dialog.h b/blimp/client/core/contents/android/ime_helper_dialog.h
deleted file mode 100644
index d66580680e48249ceedba1f591b879d9a5258fd0..0000000000000000000000000000000000000000
--- a/blimp/client/core/contents/android/ime_helper_dialog.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BLIMP_CLIENT_CORE_CONTENTS_ANDROID_IME_HELPER_DIALOG_H_
-#define BLIMP_CLIENT_CORE_CONTENTS_ANDROID_IME_HELPER_DIALOG_H_
-
-#include <string>
-
-#include "base/android/jni_android.h"
-#include "base/macros.h"
-#include "blimp/client/core/contents/ime_feature.h"
-#include "ui/base/ime/text_input_type.h"
-
-namespace ui {
-class WindowAndroid;
-} // namespace ui
-
-namespace blimp {
-namespace client {
-
-// The native component of
-// org.chromium.blimp.core.contents.input.ImeHelperDialog
-class ImeHelperDialog : public ImeFeature::Delegate {
- public:
- static bool RegisterJni(JNIEnv* env);
-
- explicit ImeHelperDialog(ui::WindowAndroid* window);
- ~ImeHelperDialog() override;
-
- // ImeFeature::Delegate implementation.
- void OnShowImeRequested(const ImeFeature::WebInputRequest& request) override;
- void OnHideImeRequested() override;
-
- // Sends the text entered from IME to the blimp engine.
- void OnImeTextEntered(JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jobj,
- const base::android::JavaParamRef<jstring>& text,
- jboolean submit);
-
- private:
- base::android::ScopedJavaGlobalRef<jobject> java_obj_;
-
- // The current request is saved in order to populate the fields of the
- // subsequent response.
- ImeFeature::WebInputRequest current_request_;
-
- DISALLOW_COPY_AND_ASSIGN(ImeHelperDialog);
-};
-
-} // namespace client
-} // namespace blimp
-#endif // BLIMP_CLIENT_CORE_CONTENTS_ANDROID_IME_HELPER_DIALOG_H_
« no previous file with comments | « blimp/client/core/contents/android/blimp_view.cc ('k') | blimp/client/core/contents/android/ime_helper_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698