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

Side by Side Diff: ui/views/ime/input_method_bridge.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_base.cc ('k') | ui/views/ime/input_method_bridge.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BRIDGE_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 17 matching lines...) Expand all
28 public ui::TextInputClient { 28 public ui::TextInputClient {
29 public: 29 public:
30 InputMethodBridge(internal::InputMethodDelegate* delegate, 30 InputMethodBridge(internal::InputMethodDelegate* delegate,
31 ui::InputMethod* host); 31 ui::InputMethod* host);
32 virtual ~InputMethodBridge(); 32 virtual ~InputMethodBridge();
33 33
34 // Overridden from InputMethod: 34 // Overridden from InputMethod:
35 virtual void Init(Widget* widget) OVERRIDE; 35 virtual void Init(Widget* widget) OVERRIDE;
36 virtual void OnFocus() OVERRIDE; 36 virtual void OnFocus() OVERRIDE;
37 virtual void OnBlur() OVERRIDE; 37 virtual void OnBlur() OVERRIDE;
38 virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE; 38 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE;
39 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; 39 virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
40 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; 40 virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
41 virtual void CancelComposition(View* view) OVERRIDE; 41 virtual void CancelComposition(View* view) OVERRIDE;
42 virtual std::string GetInputLocale() OVERRIDE; 42 virtual std::string GetInputLocale() OVERRIDE;
43 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 43 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
44 virtual bool IsActive() OVERRIDE; 44 virtual bool IsActive() OVERRIDE;
45 45
46 // Overridden from TextInputClient: 46 // Overridden from TextInputClient:
47 virtual void SetCompositionText( 47 virtual void SetCompositionText(
48 const ui::CompositionText& composition) OVERRIDE; 48 const ui::CompositionText& composition) OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 ui::InputMethod* const host_; 81 ui::InputMethod* const host_;
82 bool context_focused_; 82 bool context_focused_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); 84 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge);
85 }; 85 };
86 86
87 } // namespace views 87 } // namespace views
88 88
89 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 89 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_base.cc ('k') | ui/views/ime/input_method_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698