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

Unified Diff: ui/base/win/tsf_bridge.h

Issue 11148012: Introduce TsfEventRouter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix win build break Created 8 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
« no previous file with comments | « ui/base/win/mock_tsf_bridge.cc ('k') | ui/base/win/tsf_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/tsf_bridge.h
diff --git a/ui/base/win/tsf_bridge.h b/ui/base/win/tsf_bridge.h
index 76023b060a3594ed0482966383994249c4331be1..0b13857380174dc0672189b865acc18afefaaadb 100644
--- a/ui/base/win/tsf_bridge.h
+++ b/ui/base/win/tsf_bridge.h
@@ -6,7 +6,10 @@
#define UI_BASE_WIN_TSF_BRIDGE_H_
#include <Windows.h>
+#include <msctf.h>
+
#include "base/basictypes.h"
+#include "base/win/scoped_comptr.h"
#include "ui/base/ui_export.h"
namespace ui {
@@ -61,6 +64,9 @@ class UI_EXPORT TsfBridge {
// Caller must free |client|.
virtual void RemoveFocusedClient(TextInputClient* client) = 0;
+ // Obtains current thread manager.
+ virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() = 0;
+
protected:
// Uses GetInstance() instead.
TsfBridge();
« no previous file with comments | « ui/base/win/mock_tsf_bridge.cc ('k') | ui/base/win/tsf_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698