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

Side by Side Diff: ui/base/ime/input_method_imm32.cc

Issue 158463003: Remove WM_DEADCHAR/WM_SYSDEADCHAR handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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.h » ('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) 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 #include "ui/base/ime/input_method_imm32.h" 5 #include "ui/base/ime/input_method_imm32.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "ui/base/ime/composition_text.h" 8 #include "ui/base/ime/composition_text.h"
9 #include "ui/base/ime/text_input_client.h" 9 #include "ui/base/ime/text_input_client.h"
10 #include "ui/base/ime/win/tsf_input_scope.h" 10 #include "ui/base/ime/win/tsf_input_scope.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 break; 60 break;
61 case WM_IME_REQUEST: 61 case WM_IME_REQUEST:
62 original_result = OnImeRequest( 62 original_result = OnImeRequest(
63 event.message, event.wParam, event.lParam, &handled); 63 event.message, event.wParam, event.lParam, &handled);
64 break; 64 break;
65 case WM_CHAR: 65 case WM_CHAR:
66 case WM_SYSCHAR: 66 case WM_SYSCHAR:
67 original_result = OnChar( 67 original_result = OnChar(
68 event.hwnd, event.message, event.wParam, event.lParam, &handled); 68 event.hwnd, event.message, event.wParam, event.lParam, &handled);
69 break; 69 break;
70 case WM_DEADCHAR:
71 case WM_SYSDEADCHAR:
72 original_result = OnDeadChar(
73 event.message, event.wParam, event.lParam, &handled);
74 break;
75 case WM_IME_NOTIFY: 70 case WM_IME_NOTIFY:
76 original_result = OnImeNotify( 71 original_result = OnImeNotify(
77 event.message, event.wParam, event.lParam, &handled); 72 event.message, event.wParam, event.lParam, &handled);
78 break; 73 break;
79 default: 74 default:
80 NOTREACHED() << "Unknown IME message:" << event.message; 75 NOTREACHED() << "Unknown IME message:" << event.message;
81 break; 76 break;
82 } 77 }
83 if (result) 78 if (result)
84 *result = original_result; 79 *result = original_result;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 enabled_ = true; 285 enabled_ = true;
291 break; 286 break;
292 } 287 }
293 288
294 imm32_manager_.SetTextInputMode(window_handle, text_input_mode); 289 imm32_manager_.SetTextInputMode(window_handle, text_input_mode);
295 tsf_inputscope::SetInputScopeForTsfUnawareWindow( 290 tsf_inputscope::SetInputScopeForTsfUnawareWindow(
296 window_handle, text_input_type, text_input_mode); 291 window_handle, text_input_type, text_input_mode);
297 } 292 }
298 293
299 } // namespace ui 294 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698