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

Side by Side Diff: ui/views/ime/input_method_delegate.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_bridge.cc ('k') | ui/views/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) 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_DELEGATE_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace ui {
11 class KeyEvent;
12 }
13
10 namespace views { 14 namespace views {
11 15
12 class KeyEvent;
13
14 namespace internal { 16 namespace internal {
15 17
16 // An interface implemented by the object that handles events sent back from an 18 // An interface implemented by the object that handles events sent back from an
17 // InputMethod implementation. 19 // InputMethod implementation.
18 class VIEWS_EXPORT InputMethodDelegate { 20 class VIEWS_EXPORT InputMethodDelegate {
19 public: 21 public:
20 virtual ~InputMethodDelegate() {} 22 virtual ~InputMethodDelegate() {}
21 23
22 // Dispatch a key event already processed by the input method. 24 // Dispatch a key event already processed by the input method.
23 virtual void DispatchKeyEventPostIME(const KeyEvent& key) = 0; 25 virtual void DispatchKeyEventPostIME(const ui::KeyEvent& key) = 0;
24 26
25 }; 27 };
26 28
27 } // namespace internal 29 } // namespace internal
28 } // namespace views 30 } // namespace views
29 31
30 #endif // UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_ 32 #endif // UI_VIEWS_IME_INPUT_METHOD_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_bridge.cc ('k') | ui/views/ime/input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698