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

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

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 | « ui/base/ime/input_method_imm32.cc ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 LRESULT OnImeRequest(UINT message, 42 LRESULT OnImeRequest(UINT message,
43 WPARAM wparam, 43 WPARAM wparam,
44 LPARAM lparam, 44 LPARAM lparam,
45 BOOL* handled); 45 BOOL* handled);
46 // For both WM_CHAR and WM_SYSCHAR 46 // For both WM_CHAR and WM_SYSCHAR
47 LRESULT OnChar(HWND window_handle, 47 LRESULT OnChar(HWND window_handle,
48 UINT message, 48 UINT message,
49 WPARAM wparam, 49 WPARAM wparam,
50 LPARAM lparam, 50 LPARAM lparam,
51 BOOL* handled); 51 BOOL* handled);
52 // For both WM_DEADCHAR and WM_SYSDEADCHAR
53 // TODO(yukawa): Stop handling WM_DEADCHAR and WM_SYSDEADCHAR when non-Aura
54 // build is deprecated.
55 LRESULT OnDeadChar(UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled);
56 52
57 LRESULT OnDocumentFeed(RECONVERTSTRING* reconv); 53 LRESULT OnDocumentFeed(RECONVERTSTRING* reconv);
58 LRESULT OnReconvertString(RECONVERTSTRING* reconv); 54 LRESULT OnReconvertString(RECONVERTSTRING* reconv);
59 LRESULT OnQueryCharPosition(IMECHARPOSITION* char_positon); 55 LRESULT OnQueryCharPosition(IMECHARPOSITION* char_positon);
60 56
61 // Returns the window handle to which |text_input_client| is bound. 57 // Returns the window handle to which |text_input_client| is bound.
62 // On Aura environment, |toplevel_window_handle_| is always returned. 58 // On Aura environment, |toplevel_window_handle_| is always returned.
63 HWND GetAttachedWindowHandle(const TextInputClient* text_input_client) const; 59 HWND GetAttachedWindowHandle(const TextInputClient* text_input_client) const;
64 60
65 // Returns true if the Win32 native window bound to |client| is considered 61 // Returns true if the Win32 native window bound to |client| is considered
(...skipping 27 matching lines...) Expand all
93 // workaround against crbug.com/319100 89 // workaround against crbug.com/319100
94 // TODO(yukawa, IME): Figure out long-term solution. 90 // TODO(yukawa, IME): Figure out long-term solution.
95 bool accept_carriage_return_; 91 bool accept_carriage_return_;
96 92
97 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 93 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
98 }; 94 };
99 95
100 } // namespace ui 96 } // namespace ui
101 97
102 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ 98 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_imm32.cc ('k') | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698