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

Unified Diff: ui/base/ime/win/mock_tsf_bridge.h

Issue 14698032: Make InputMethodWin TSF-aware. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Implement OnTextLayoutChanged in MockTSFBridge. Created 7 years, 7 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/ime/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/ime/win/mock_tsf_bridge.h
diff --git a/ui/base/ime/win/mock_tsf_bridge.h b/ui/base/ime/win/mock_tsf_bridge.h
index a47b816050604a3ff988e81412e75aa9597e633f..0ba481823843b4ed72d148d674cf52530725e07b 100644
--- a/ui/base/ime/win/mock_tsf_bridge.h
+++ b/ui/base/ime/win/mock_tsf_bridge.h
@@ -23,6 +23,7 @@ class MockTSFBridge : public TSFBridge {
virtual void Shutdown() OVERRIDE;
virtual bool CancelComposition() OVERRIDE;
virtual void OnTextInputTypeChanged(TextInputClient* client) OVERRIDE;
+ virtual void OnTextLayoutChanged() OVERRIDE;
virtual void SetFocusedClient(HWND focused_window,
TextInputClient* client) OVERRIDE;
virtual void RemoveFocusedClient(TextInputClient* client) OVERRIDE;
@@ -46,6 +47,11 @@ class MockTSFBridge : public TSFBridge {
return cancel_composition_call_count_;
}
+ // Call count of OnTextLayoutChanged().
+ int on_text_layout_changed() const {
+ return on_text_layout_changed_;
+ }
+
// Call count of AssociateFocus().
int associate_focus_call_count() const { return associate_focus_call_count_; }
@@ -75,6 +81,7 @@ class MockTSFBridge : public TSFBridge {
int enable_ime_call_count_;
int disalbe_ime_call_count_;
int cancel_composition_call_count_;
+ int on_text_layout_changed_;
int associate_focus_call_count_;
int set_focused_client_call_count_;
int remove_focused_client_call_count_;
« no previous file with comments | « no previous file | ui/base/ime/win/mock_tsf_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698