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

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

Issue 17112021: New method: InputMethod::IsCandidatePopupOpen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced. Created 7 years, 6 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.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual bool DispatchKeyEvent( 47 virtual bool DispatchKeyEvent(
48 const base::NativeEvent& native_key_event) OVERRIDE; 48 const base::NativeEvent& native_key_event) OVERRIDE;
49 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; 49 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE;
50 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; 50 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE;
51 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 51 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
52 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 52 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
53 virtual void OnInputLocaleChanged() OVERRIDE; 53 virtual void OnInputLocaleChanged() OVERRIDE;
54 virtual std::string GetInputLocale() OVERRIDE; 54 virtual std::string GetInputLocale() OVERRIDE;
55 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 55 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
56 virtual bool IsActive() OVERRIDE; 56 virtual bool IsActive() OVERRIDE;
57 virtual bool IsCandidatePopupOpen() const OVERRIDE;
57 58
58 protected: 59 protected:
59 // chromeos::IBusDaemonController::Observer overrides. 60 // chromeos::IBusDaemonController::Observer overrides.
60 virtual void OnConnected() OVERRIDE; 61 virtual void OnConnected() OVERRIDE;
61 virtual void OnDisconnected() OVERRIDE; 62 virtual void OnDisconnected() OVERRIDE;
62 63
63 // Converts |text| into CompositionText. 64 // Converts |text| into CompositionText.
64 void ExtractCompositionText(const chromeos::IBusText& text, 65 void ExtractCompositionText(const chromeos::IBusText& text,
65 uint32 cursor_position, 66 uint32 cursor_position,
66 CompositionText* out_composition) const; 67 CompositionText* out_composition) const;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 226
226 // Used for making callbacks. 227 // Used for making callbacks.
227 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_; 228 base::WeakPtrFactory<InputMethodIBus> weak_ptr_factory_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus); 230 DISALLOW_COPY_AND_ASSIGN(InputMethodIBus);
230 }; 231 };
231 232
232 } // namespace ui 233 } // namespace ui
233 234
234 #endif // UI_BASE_IME_INPUT_METHOD_IBUS_H_ 235 #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