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

Unified Diff: ui/base/ime/win/tsf_input_scope.h

Issue 21157006: change tsf_input_scopes::SetInputScopeForTsfUnawareWindow to SetInputScopesForTsfUnawareWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove singleton and add thread checking Created 7 years, 4 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/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..3a3d4014e6b515626cad416dae03c3ec3e0eae8a 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"
@@ -23,13 +24,15 @@ namespace tsf_inputscope {
// reference count.
UI_EXPORT ITfInputScope* CreateInputScope(TextInputType text_input_type);
-// A wrapper of the SetInputScope API exported by msctf.dll.
-// http://msdn.microsoft.com/en-us/library/windows/desktop/ms629025.aspx
+// A wrapper of the SetInputScopes API exported by msctf.dll.
+// http://msdn.microsoft.com/en-us/library/windows/desktop/
Yohei Yukawa 2013/08/05 08:25:50 I prefer http://msdn.microsoft.com/en-us/library/w
yoichio 2013/08/05 08:30:41 Done.
+// 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 SetInputScopeForTsfUnawareWindow(
HWND window_handle,
- TextInputType text_input_type);
+ TextInputType text_input_type,
+ TextInputMode text_input_mode);
} // namespace tsf_inputscope
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698