Index: ui/base/ime/win/tsf_input_scope.h |
diff --git a/ui/base/ime/win/tsf_input_scope.h b/ui/base/ime/win/tsf_input_scope.h |
index 0dd159e22a0a9769bf2fad666c9b5112ad348cdf..677f8eb140ff0affd08cd8a547c2ff577081361e 100644 |
--- a/ui/base/ime/win/tsf_input_scope.h |
+++ b/ui/base/ime/win/tsf_input_scope.h |
@@ -8,6 +8,7 @@ |
#include <Windows.h> |
#include "base/basictypes.h" |
+#include "ui/base/ime/text_input_mode.h" |
#include "ui/base/ime/text_input_type.h" |
#include "ui/base/ui_export.h" |
@@ -31,6 +32,16 @@ UI_EXPORT void SetInputScopeForTsfUnawareWindow( |
HWND window_handle, |
TextInputType text_input_type); |
+// A wrapper of the SetInputScopes API exported by msctf.dll. |
+// http://msdn.microsoft.com/en-us/library/windows/desktop/ |
+// ms629026(v=vs.85).aspx |
+// Does nothing on Windows XP in case TSF is disabled. |
+// NOTE: For TSF-aware window, you should use ITfInputScope instead. |
+UI_EXPORT void SetInputScopesForTsfUnawareWindow( |
Seigo Nonaka
2013/07/31 13:23:09
Why don't you add argument into SetInputScopeForTs
|
+ HWND window_handle, |
+ TextInputType text_input_type, |
+ TextInputMode text_input_mode); |
+ |
} // namespace tsf_inputscope |
} // namespace ui |