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

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

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/ime/input_method_delegate.h ('k') | ui/views/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_VIEWS_IME_INPUT_METHOD_WIN_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_WIN_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_WIN_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 // An InputMethod implementation based on Windows IMM32 API. 21 // An InputMethod implementation based on Windows IMM32 API.
22 class InputMethodWin : public InputMethodBase { 22 class InputMethodWin : public InputMethodBase {
23 public: 23 public:
24 explicit InputMethodWin(internal::InputMethodDelegate* delegate); 24 explicit InputMethodWin(internal::InputMethodDelegate* delegate);
25 virtual ~InputMethodWin(); 25 virtual ~InputMethodWin();
26 26
27 // Overridden from InputMethod: 27 // Overridden from InputMethod:
28 virtual void Init(Widget* widget) OVERRIDE; 28 virtual void Init(Widget* widget) OVERRIDE;
29 virtual void OnFocus() OVERRIDE; 29 virtual void OnFocus() OVERRIDE;
30 virtual void OnBlur() OVERRIDE; 30 virtual void OnBlur() OVERRIDE;
31 virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE; 31 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE;
32 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; 32 virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
33 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; 33 virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
34 virtual void CancelComposition(View* view) OVERRIDE; 34 virtual void CancelComposition(View* view) OVERRIDE;
35 virtual std::string GetInputLocale() OVERRIDE; 35 virtual std::string GetInputLocale() OVERRIDE;
36 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 36 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
37 virtual bool IsActive() OVERRIDE; 37 virtual bool IsActive() OVERRIDE;
38 38
39 // Handles IME messages. 39 // Handles IME messages.
40 LRESULT OnImeMessages(UINT message, WPARAM wparam, LPARAM lparam, 40 LRESULT OnImeMessages(UINT message, WPARAM wparam, LPARAM lparam,
41 BOOL* handled); 41 BOOL* handled);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Windows IMM32 wrapper. 95 // Windows IMM32 wrapper.
96 // (See "ui/base/win/ime_input.h" for its details.) 96 // (See "ui/base/win/ime_input.h" for its details.)
97 ui::ImeInput ime_input_; 97 ui::ImeInput ime_input_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 99 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
100 }; 100 };
101 101
102 } // namespace views 102 } // namespace views
103 103
104 #endif // UI_VIEWS_IME_INPUT_METHOD_WIN_H_ 104 #endif // UI_VIEWS_IME_INPUT_METHOD_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_delegate.h ('k') | ui/views/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698