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

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

Issue 1037103004: Fix a crash seen in Desktop Chrome Windows while displaying a bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 8 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_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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // True when an IME should be allowed to process key events. 134 // True when an IME should be allowed to process key events.
135 bool enabled_; 135 bool enabled_;
136 136
137 // True if we know for sure that a candidate window is open. 137 // True if we know for sure that a candidate window is open.
138 bool is_candidate_popup_open_; 138 bool is_candidate_popup_open_;
139 139
140 // Window handle where composition is on-going. NULL when there is no 140 // Window handle where composition is on-going. NULL when there is no
141 // composition. 141 // composition.
142 HWND composing_window_handle_; 142 HWND composing_window_handle_;
143 143
144 // Set to false initially. Tracks whether the IME has been initialized with
145 // the current input language.
146 bool default_input_language_initialized_;
147
144 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 148 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
145 }; 149 };
146 150
147 } // namespace ui 151 } // namespace ui
148 152
149 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ 153 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698