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

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: 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
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..05736c876d8d995dba5de7ac94b2f884d753241e 100644
--- a/ui/base/win/tsf_bridge.cc
+++ b/ui/base/win/tsf_bridge.cc
@@ -183,6 +183,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>;

Powered by Google App Engine
This is Rietveld 408576698