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

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

Issue 11183049: Changes on the Input method for metro ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/base/ime/input_method.h ('k') | ui/base/ime/input_method_ibus.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_BASE_IME_INPUT_METHOD_IBUS_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_IBUS_H_
6 #define UI_BASE_IME_INPUT_METHOD_IBUS_H_ 6 #define UI_BASE_IME_INPUT_METHOD_IBUS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 22 matching lines...) Expand all
33 public: 33 public:
34 explicit InputMethodIBus(internal::InputMethodDelegate* delegate); 34 explicit InputMethodIBus(internal::InputMethodDelegate* delegate);
35 virtual ~InputMethodIBus(); 35 virtual ~InputMethodIBus();
36 36
37 // Overridden from InputMethod: 37 // Overridden from InputMethod:
38 virtual void OnFocus() OVERRIDE; 38 virtual void OnFocus() OVERRIDE;
39 virtual void OnBlur() OVERRIDE; 39 virtual void OnBlur() OVERRIDE;
40 virtual void Init(bool focused) OVERRIDE; 40 virtual void Init(bool focused) OVERRIDE;
41 virtual void DispatchKeyEvent( 41 virtual void DispatchKeyEvent(
42 const base::NativeEvent& native_key_event) OVERRIDE; 42 const base::NativeEvent& native_key_event) OVERRIDE;
43 virtual void DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE;
43 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; 44 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE;
44 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 45 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
45 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 46 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
46 virtual std::string GetInputLocale() OVERRIDE; 47 virtual std::string GetInputLocale() OVERRIDE;
47 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 48 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
48 virtual bool IsActive() OVERRIDE; 49 virtual bool IsActive() OVERRIDE;
49 50
50 // Called when the connection with ibus-daemon is established. 51 // Called when the connection with ibus-daemon is established.
51 virtual void OnConnected(); 52 virtual void OnConnected();
52 53
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 219
219 // Used for making callbacks. 220 // Used for making callbacks.
220 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_; 221 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_;
221 222
222 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); 223 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus);
223 }; 224 };
224 225
225 } // namespace ui 226 } // namespace ui
226 227
227 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_ 228 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_ibus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698