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

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

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/tsf_bridge.h ('k') | ui/base/win/tsf_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/tsf_bridge.cc
diff --git a/ui/base/win/tsf_bridge.cc b/ui/base/win/tsf_bridge.cc
index 1db1f17f8d7d31623062a7e59e10cfe0e3355836..1d428def0c2b788de842a5fc0a5118c723756b5d 100644
--- a/ui/base/win/tsf_bridge.cc
+++ b/ui/base/win/tsf_bridge.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <msctf.h>
+
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -183,6 +184,12 @@ class TsfBridgeDelegate : public TsfBridge {
}
}
+ virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() OVERRIDE {
+ DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type());
+ DCHECK(IsInitialized());
+ return thread_manager_;
+ }
+
private:
friend struct DefaultSingletonTraits<TsfBridgeDelegate>;
« no previous file with comments | « ui/base/win/tsf_bridge.h ('k') | ui/base/win/tsf_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698