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

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

Issue 17370002: Implement InputMethodTSF (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | ui/base/ime/input_method_tsf.cc » ('j') | ui/base/ime/input_method_tsf.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 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>
11 11
(...skipping 20 matching lines...) Expand all
32 // Overridden from InputMethodBase: 32 // Overridden from InputMethodBase:
33 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before, 33 virtual void OnWillChangeFocusedClient(TextInputClient* focused_before,
34 TextInputClient* focused) OVERRIDE; 34 TextInputClient* focused) OVERRIDE;
35 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before, 35 virtual void OnDidChangeFocusedClient(TextInputClient* focused_before,
36 TextInputClient* focused) OVERRIDE; 36 TextInputClient* focused) OVERRIDE;
37 37
38 private: 38 private:
39 // Asks the client to confirm current composition text. 39 // Asks the client to confirm current composition text.
40 void ConfirmCompositionText(); 40 void ConfirmCompositionText();
41 41
42 // Returns true if the Win32 native window bound to |client| has Win32 input
43 // focus.
44 bool IsWindowFocused(const TextInputClient* client) const;
45
42 DISALLOW_COPY_AND_ASSIGN(InputMethodTSF); 46 DISALLOW_COPY_AND_ASSIGN(InputMethodTSF);
43 }; 47 };
44 48
45 } // namespace ui 49 } // namespace ui
46 50
47 #endif // UI_BASE_IME_INPUT_METHOD_TSF_H_ 51 #endif // UI_BASE_IME_INPUT_METHOD_TSF_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/input_method_tsf.cc » ('j') | ui/base/ime/input_method_tsf.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698