OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WIN_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_WIN_H_ |
6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // True when an IME should be allowed to process key events. | 122 // True when an IME should be allowed to process key events. |
123 bool enabled_; | 123 bool enabled_; |
124 | 124 |
125 // True if we know for sure that a candidate window is open. | 125 // True if we know for sure that a candidate window is open. |
126 bool is_candidate_popup_open_; | 126 bool is_candidate_popup_open_; |
127 | 127 |
128 // Window handle where composition is on-going. NULL when there is no | 128 // Window handle where composition is on-going. NULL when there is no |
129 // composition. | 129 // composition. |
130 HWND composing_window_handle_; | 130 HWND composing_window_handle_; |
131 | 131 |
132 // Set to true to suppress the next WM_CHAR, when the WM_KEYDOWN gets stopped | |
133 // propagation (e.g. triggered an accelerator). | |
134 bool suppress_next_char_; | |
135 | |
136 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); | 132 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); |
137 }; | 133 }; |
138 | 134 |
139 } // namespace ui | 135 } // namespace ui |
140 | 136 |
141 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ | 137 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ |
OLD | NEW |