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

Unified Diff: ui/base/ime/win/imm32_manager.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/win/imm32_manager.h
diff --git a/ui/base/ime/win/imm32_manager.h b/ui/base/ime/win/imm32_manager.h
index a1e473cdb25e85408dae2c1f7518042b23176373..0665919aa15105ef361f8ddafe084d23ea3eb227 100644
--- a/ui/base/ime/win/imm32_manager.h
+++ b/ui/base/ime/win/imm32_manager.h
@@ -83,12 +83,7 @@ class UI_BASE_IME_EXPORT IMM32Manager {
bool is_composing() const { return is_composing_; }
// Retrieves the input language from Windows and update it.
- // Return values
- // * true
- // The given input language has IMEs.
- // * false
- // The given input language does not have IMEs.
- bool SetInputLanguage();
+ void SetInputLanguage();
// Creates the IME windows, and allocate required resources for them.
// Parameters
@@ -281,13 +276,6 @@ class UI_BASE_IME_EXPORT IMM32Manager {
// process, i.e. whether or not a browser process is composing a text.
bool is_composing_;
- // This value represents whether or not the current input context has IMEs.
- // The following table shows the list of IME status:
- // Value Description
- // false The current input language does not have IMEs.
- // true The current input language has IMEs.
- bool ime_status_;
-
// The current input Language ID retrieved from Windows, which consists of:
// * Primary Language ID (bit 0 to bit 9), which shows a natunal language
// (English, Korean, Chinese, Japanese, etc.) and;

Powered by Google App Engine
This is Rietveld 408576698