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

Side by Side Diff: ui/base/ime/win/tsf_bridge.h

Issue 13235003: Support the Text services framework based IME for Chrome AURA on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/win/mock_tsf_bridge.cc ('k') | ui/base/ime/win/tsf_bridge.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_IME_WIN_TSF_BRIDGE_H_ 5 #ifndef UI_BASE_IME_WIN_TSF_BRIDGE_H_
6 #define UI_BASE_IME_WIN_TSF_BRIDGE_H_ 6 #define UI_BASE_IME_WIN_TSF_BRIDGE_H_
7 7
8 #include <Windows.h> 8 #include <Windows.h>
9 #include <msctf.h> 9 #include <msctf.h>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void SetFocusedClient(HWND focused_window, 60 virtual void SetFocusedClient(HWND focused_window,
61 TextInputClient* client) = 0; 61 TextInputClient* client) = 0;
62 62
63 // Removes currently focused TextInputClient. 63 // Removes currently focused TextInputClient.
64 // Caller must free |client|. 64 // Caller must free |client|.
65 virtual void RemoveFocusedClient(TextInputClient* client) = 0; 65 virtual void RemoveFocusedClient(TextInputClient* client) = 0;
66 66
67 // Obtains current thread manager. 67 // Obtains current thread manager.
68 virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() = 0; 68 virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() = 0;
69 69
70 // Returns the focused text input client.
71 virtual TextInputClient* GetFocusedTextInputClient() const = 0;
72
70 protected: 73 protected:
71 // Uses GetInstance() instead. 74 // Uses GetInstance() instead.
72 TSFBridge(); 75 TSFBridge();
73 76
74 private: 77 private:
75 // Releases TLS instance. 78 // Releases TLS instance.
76 static void Finalize(void* data); 79 static void Finalize(void* data);
77 80
78 DISALLOW_COPY_AND_ASSIGN(TSFBridge); 81 DISALLOW_COPY_AND_ASSIGN(TSFBridge);
79 }; 82 };
80 83
81 } // namespace ui 84 } // namespace ui
82 85
83 #endif // UI_BASE_IME_WIN_TSF_BRIDGE_H_ 86 #endif // UI_BASE_IME_WIN_TSF_BRIDGE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/win/mock_tsf_bridge.cc ('k') | ui/base/ime/win/tsf_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698