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

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

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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.h
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
index 778b99d1a6c223033ddce1963ac7c00a8fc5af01..dc0a43eb1716978c52bee30a2412a9e627ae9bf2 100644
--- a/ui/base/ime/input_method.h
+++ b/ui/base/ime/input_method.h
@@ -121,15 +121,6 @@ class InputMethod {
// tag, or an empty string if the input method cannot provide it.
virtual std::string GetInputLocale() = 0;
- // Checks if the input method is active, i.e. if it's ready for processing
- // keyboard event and generate composition or text result.
- // If the input method is inactive, then it's not necessary to inform it the
- // changes of caret bounds and text input type.
- // Note: character results may still be generated and sent to the text input
- // client by calling TextInputClient::InsertChar(), even if the input method
- // is not active.
- virtual bool IsActive() = 0;
-
// TODO(yoichio): Following 3 methods(GetTextInputType, GetTextInputMode and
// CanComposeInline) calls client's same method and returns its value. It is
// not InputMethod itself's infomation. So rename these to

Powered by Google App Engine
This is Rietveld 408576698