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

Unified Diff: ui/base/win/mock_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 | « no previous file | ui/base/win/mock_tsf_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/mock_tsf_bridge.h
diff --git a/ui/base/win/mock_tsf_bridge.h b/ui/base/win/mock_tsf_bridge.h
index 375e214b76674ca20325492426e96f290031e553..f1fe2cb51f9401e6f2de4244c8ef6a9232f70939 100644
--- a/ui/base/win/mock_tsf_bridge.h
+++ b/ui/base/win/mock_tsf_bridge.h
@@ -5,7 +5,10 @@
#ifndef UI_BASE_WIN_MOCK_TSF_BRIDGE_H_
#define UI_BASE_WIN_MOCK_TSF_BRIDGE_H_
+#include <msctf.h>
+
#include "base/compiler_specific.h"
+#include "base/win/scoped_comptr.h"
#include "ui/base/ime/text_input_type.h"
#include "ui/base/win/tsf_bridge.h"
@@ -32,6 +35,9 @@ class MockTsfBridge : public TsfBridge {
// TsfBridge override.
virtual void RemoveFocusedClient(TextInputClient* client) OVERRIDE;
+ // TsfBridge override.
+ virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() OVERRIDE;
+
// Resets MockTsfBridge state including function call counter.
void Reset();
@@ -84,6 +90,7 @@ class MockTsfBridge : public TsfBridge {
TextInputClient* text_input_client_;
HWND focused_window_;
TextInputType latest_text_input_type_;
+ base::win::ScopedComPtr<ITfThreadMgr> thread_manager_;
DISALLOW_COPY_AND_ASSIGN(MockTsfBridge);
};
« no previous file with comments | « no previous file | ui/base/win/mock_tsf_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698