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

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

Issue 889323003: Split ui/base/ime into a new component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros x11 GN build Created 5 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_base.h ('k') | ui/base/ime/input_method_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ 6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "ui/base/ime/chromeos/character_composer.h" 15 #include "ui/base/ime/chromeos/character_composer.h"
16 #include "ui/base/ime/chromeos/ime_bridge.h" 16 #include "ui/base/ime/chromeos/ime_bridge.h"
17 #include "ui/base/ime/composition_text.h" 17 #include "ui/base/ime/composition_text.h"
18 #include "ui/base/ime/input_method_base.h" 18 #include "ui/base/ime/input_method_base.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
22 // A ui::InputMethod implementation based on IBus. 22 // A ui::InputMethod implementation based on IBus.
23 class UI_BASE_EXPORT InputMethodChromeOS 23 class UI_BASE_IME_EXPORT InputMethodChromeOS
24 : public InputMethodBase, 24 : public InputMethodBase,
25 public chromeos::IMEInputContextHandlerInterface { 25 public chromeos::IMEInputContextHandlerInterface {
26 public: 26 public:
27 explicit InputMethodChromeOS(internal::InputMethodDelegate* delegate); 27 explicit InputMethodChromeOS(internal::InputMethodDelegate* delegate);
28 ~InputMethodChromeOS() override; 28 ~InputMethodChromeOS() override;
29 29
30 // Overridden from InputMethod: 30 // Overridden from InputMethod:
31 void OnFocus() override; 31 void OnFocus() override;
32 void OnBlur() override; 32 void OnBlur() override;
33 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 33 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // Used for making callbacks. 152 // Used for making callbacks.
153 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_; 153 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS); 155 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS);
156 }; 156 };
157 157
158 } // namespace ui 158 } // namespace ui
159 159
160 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ 160 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_base.h ('k') | ui/base/ime/input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698