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

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

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AURALINUX_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ 6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/base/ime/composition_text.h" 9 #include "ui/base/ime/composition_text.h"
10 #include "ui/base/ime/input_method_base.h" 10 #include "ui/base/ime/input_method_base.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // Overriden from InputMethod. 27 // Overriden from InputMethod.
28 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 28 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
29 NativeEventResult* result) override; 29 NativeEventResult* result) override;
30 bool DispatchKeyEvent(const ui::KeyEvent& event) override; 30 bool DispatchKeyEvent(const ui::KeyEvent& event) override;
31 void OnTextInputTypeChanged(const TextInputClient* client) override; 31 void OnTextInputTypeChanged(const TextInputClient* client) override;
32 void OnCaretBoundsChanged(const TextInputClient* client) override; 32 void OnCaretBoundsChanged(const TextInputClient* client) override;
33 void CancelComposition(const TextInputClient* client) override; 33 void CancelComposition(const TextInputClient* client) override;
34 void OnInputLocaleChanged() override; 34 void OnInputLocaleChanged() override;
35 std::string GetInputLocale() override; 35 std::string GetInputLocale() override;
36 bool IsActive() override;
37 bool IsCandidatePopupOpen() const override; 36 bool IsCandidatePopupOpen() const override;
38 void OnFocus() override; 37 void OnFocus() override;
39 void OnBlur() override; 38 void OnBlur() override;
40 39
41 // Overriden from ui::LinuxInputMethodContextDelegate 40 // Overriden from ui::LinuxInputMethodContextDelegate
42 void OnCommit(const base::string16& text) override; 41 void OnCommit(const base::string16& text) override;
43 void OnPreeditChanged(const CompositionText& composition_text) override; 42 void OnPreeditChanged(const CompositionText& composition_text) override;
44 void OnPreeditEnd() override; 43 void OnPreeditEnd() override;
45 void OnPreeditStart() override{}; 44 void OnPreeditStart() override{};
46 45
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // If it's true then all input method result received before the next key 79 // If it's true then all input method result received before the next key
81 // event will be discarded. 80 // event will be discarded.
82 bool suppress_next_result_; 81 bool suppress_next_result_;
83 82
84 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); 83 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux);
85 }; 84 };
86 85
87 } // namespace ui 86 } // namespace ui
88 87
89 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ 88 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698