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

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

Issue 1267483003: Combine the WM_CHAR with WM_KEY* for key event flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « tools/metrics/histograms/histograms.xml ('k') | ui/base/ime/input_method_win.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) 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
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_
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698