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

Unified Diff: ui/base/ime/input_method_android.h

Issue 1394883004: Introduce InputMethodAuraAndroid for Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/input_method_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_android.h
diff --git a/ui/base/ime/input_method_minimal.h b/ui/base/ime/input_method_android.h
similarity index 56%
copy from ui/base/ime/input_method_minimal.h
copy to ui/base/ime/input_method_android.h
index 60d1a8e23f95cb6e7554e3497b940083958a05bd..edadf7378d6a6d285c323b5b013b10f5d29985e0 100644
--- a/ui/base/ime/input_method_minimal.h
+++ b/ui/base/ime/input_method_android.h
@@ -1,21 +1,22 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2015 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 UI_BASE_IME_INPUT_METHOD_MINIMAL_H_
-#define UI_BASE_IME_INPUT_METHOD_MINIMAL_H_
+#ifndef UI_BASE_IME_INPUT_METHOD_ANDROID_H_
+#define UI_BASE_IME_INPUT_METHOD_ANDROID_H_
+#include "base/macros.h"
#include "ui/base/ime/input_method_base.h"
namespace ui {
-// A minimal implementation of ui::InputMethod, which supports only the direct
-// input without any compositions or conversions.
-class UI_BASE_IME_EXPORT InputMethodMinimal : public InputMethodBase {
+// A ui::InputMethod implementation for Aura on Android platform.
+class UI_BASE_IME_EXPORT InputMethodAndroid : public InputMethodBase {
public:
- explicit InputMethodMinimal(internal::InputMethodDelegate* delegate);
- ~InputMethodMinimal() override;
+ explicit InputMethodAndroid(internal::InputMethodDelegate* delegate);
+ ~InputMethodAndroid() override;
+ private:
// Overriden from InputMethod.
bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
NativeEventResult* result) override;
@@ -26,10 +27,10 @@ class UI_BASE_IME_EXPORT InputMethodMinimal : public InputMethodBase {
std::string GetInputLocale() override;
bool IsCandidatePopupOpen() const override;
- private:
- DISALLOW_COPY_AND_ASSIGN(InputMethodMinimal);
+ DISALLOW_COPY_AND_ASSIGN(InputMethodAndroid);
};
} // namespace ui
-#endif // UI_BASE_IME_INPUT_METHOD_MINIMAL_H_
+#endif // UI_BASE_IME_INPUT_METHOD_ANDROID_H_
+
« no previous file with comments | « ui/base/ime/BUILD.gn ('k') | ui/base/ime/input_method_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698