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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/composition_underline.h ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_H_
6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_
7
8 #include "ui/base/ime/input_method.h"
9
10 namespace ui {
11
12 class InputMethodObserver;
13
14 class DummyInputMethod : public InputMethod {
15 public:
16 DummyInputMethod();
17 ~DummyInputMethod() override;
18
19 // InputMethod overrides:
20 void SetDelegate(internal::InputMethodDelegate* delegate) override;
21 void Init(bool focused) override;
22 void OnFocus() override;
23 void OnBlur() override;
24 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
25 NativeEventResult* result) override;
26 void SetFocusedTextInputClient(TextInputClient* client) override;
27 void DetachTextInputClient(TextInputClient* client) override;
28 TextInputClient* GetTextInputClient() const override;
29 bool DispatchKeyEvent(const ui::KeyEvent& event) override;
30 void OnTextInputTypeChanged(const TextInputClient* client) override;
31 void OnCaretBoundsChanged(const TextInputClient* client) override;
32 void CancelComposition(const TextInputClient* client) override;
33 void OnInputLocaleChanged() override;
34 std::string GetInputLocale() override;
35 bool IsActive() override;
36 TextInputType GetTextInputType() const override;
37 TextInputMode GetTextInputMode() const override;
38 bool CanComposeInline() const override;
39 bool IsCandidatePopupOpen() const override;
40 void ShowImeIfNeeded() override;
41
42 void AddObserver(InputMethodObserver* observer) override;
43 void RemoveObserver(InputMethodObserver* observer) override;
44
45 private:
46 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod);
47 };
48
49 } // namespace ui
50
51 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/composition_underline.h ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698