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

Unified Diff: ui/base/ime/win/tsf_text_store_unittest.cc

Issue 22401002: Add GetTextInputMode function to TextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build failure on win 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_text_store_unittest.cc
diff --git a/ui/base/ime/win/tsf_text_store_unittest.cc b/ui/base/ime/win/tsf_text_store_unittest.cc
index baa4c8d9825dbf8ff25eb33905d5f40cbd08da4a..4443d3f2b10c6204b8ee72adb7b798d3dc0c5b5f 100644
--- a/ui/base/ime/win/tsf_text_store_unittest.cc
+++ b/ui/base/ime/win/tsf_text_store_unittest.cc
@@ -29,6 +29,7 @@ class MockTextInputClient : public TextInputClient {
MOCK_CONST_METHOD0(GetAttachedWindow, gfx::NativeWindow());
MOCK_CONST_METHOD0(GetTextInputType, ui::TextInputType());
MOCK_CONST_METHOD0(CanComposeInline, bool());
+ MOCK_CONST_METHOD0(GetTextInputMode, ui::TextInputMode());
MOCK_METHOD0(GetCaretBounds, gfx::Rect());
MOCK_METHOD2(GetCompositionCharacterBounds, bool(uint32, gfx::Rect*));
MOCK_METHOD0(HasCompositionText, bool());

Powered by Google App Engine
This is Rietveld 408576698