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

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

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 7 years 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Removes currently focused TextInputClient. 74 // Removes currently focused TextInputClient.
75 // Caller must free |client|. 75 // Caller must free |client|.
76 virtual void RemoveFocusedClient(TextInputClient* client) = 0; 76 virtual void RemoveFocusedClient(TextInputClient* client) = 0;
77 77
78 // Obtains current thread manager. 78 // Obtains current thread manager.
79 virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() = 0; 79 virtual base::win::ScopedComPtr<ITfThreadMgr> GetThreadManager() = 0;
80 80
81 // Returns the focused text input client. 81 // Returns the focused text input client.
82 virtual TextInputClient* GetFocusedTextInputClient() const = 0; 82 virtual TextInputClient* GetFocusedTextInputClient() const = 0;
83 83
84 // Interface for for signalling candidate window events.
85 virtual void OnCandidateWindowShown() = 0;
86 virtual void OnCandidateWindowUpdated() = 0;
87 virtual void OnCandidateWindowHidden() = 0;
88
84 protected: 89 protected:
85 // Uses GetInstance() instead. 90 // Uses GetInstance() instead.
86 TSFBridge(); 91 TSFBridge();
87 92
88 private: 93 private:
89 // Releases TLS instance. 94 // Releases TLS instance.
90 static void Finalize(void* data); 95 static void Finalize(void* data);
91 96
92 DISALLOW_COPY_AND_ASSIGN(TSFBridge); 97 DISALLOW_COPY_AND_ASSIGN(TSFBridge);
93 }; 98 };
94 99
95 } // namespace ui 100 } // namespace ui
96 101
97 #endif // UI_BASE_IME_WIN_TSF_BRIDGE_H_ 102 #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