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

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: reviews 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
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..1afaf60defe66f474cc3fca1a6c1e9e1779fc3b9 100644
--- a/ui/base/ime/input_method_minimal.h
+++ b/ui/base/ime/input_method_android.h
@@ -1,21 +1,21 @@
-// 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 "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 +26,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_
+

Powered by Google App Engine
This is Rietveld 408576698