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

Side by Side Diff: ui/base/ime/input_method_tsf.h

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_INPUT_METHOD_TSF_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_TSF_H_
6 #define UI_BASE_IME_INPUT_METHOD_TSF_H_ 6 #define UI_BASE_IME_INPUT_METHOD_TSF_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 32 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
33 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 33 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
34 virtual void DetachTextInputClient(TextInputClient* client) OVERRIDE; 34 virtual void DetachTextInputClient(TextInputClient* client) OVERRIDE;
35 virtual bool IsCandidatePopupOpen() const OVERRIDE; 35 virtual bool IsCandidatePopupOpen() const OVERRIDE;
36 36
37 // Overridden from InputMethodBase: 37 // Overridden from InputMethodBase:
38 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before, 38 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before,
39 TextInputClient* focused) OVERRIDE; 39 TextInputClient* focused) OVERRIDE;
40 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before, 40 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before,
41 TextInputClient* focused) OVERRIDE; 41 TextInputClient* focused) OVERRIDE;
42
43 private: 42 private:
44 class TSFEventObserver; 43 class TSFEventObserver;
45 44
46 // Asks the client to confirm current composition text. 45 // Asks the client to confirm current composition text.
47 void ConfirmCompositionText(); 46 void ConfirmCompositionText();
48 47
49 // TSF event router and observer. 48 // TSF event router and observer.
50 scoped_ptr<TSFEventObserver> tsf_event_observer_; 49 scoped_ptr<TSFEventObserver> tsf_event_observer_;
51 scoped_ptr<TSFEventRouter> tsf_event_router_; 50 scoped_ptr<TSFEventRouter> tsf_event_router_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(InputMethodTSF); 52 DISALLOW_COPY_AND_ASSIGN(InputMethodTSF);
54 }; 53 };
55 54
56 } // namespace ui 55 } // namespace ui
57 56
58 #endif // UI_BASE_IME_INPUT_METHOD_TSF_H_ 57 #endif // UI_BASE_IME_INPUT_METHOD_TSF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698