OLD | NEW |
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 #include "ui/base/ime/dummy_input_method.h" | 5 #include "ui/base/ime/dummy_input_method.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 DummyInputMethod::DummyInputMethod() { | 9 DummyInputMethod::DummyInputMethod() { |
10 } | 10 } |
(...skipping 18 matching lines...) Expand all Loading... |
29 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) { | 29 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) { |
30 } | 30 } |
31 | 31 |
32 void DummyInputMethod::DetachTextInputClient(TextInputClient* client) { | 32 void DummyInputMethod::DetachTextInputClient(TextInputClient* client) { |
33 } | 33 } |
34 | 34 |
35 TextInputClient* DummyInputMethod::GetTextInputClient() const { | 35 TextInputClient* DummyInputMethod::GetTextInputClient() const { |
36 return NULL; | 36 return NULL; |
37 } | 37 } |
38 | 38 |
39 bool DummyInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { | 39 void DummyInputMethod::DispatchKeyEvent(ui::KeyEvent* event) { |
40 return false; | |
41 } | 40 } |
42 | 41 |
43 void DummyInputMethod::OnTextInputTypeChanged(const TextInputClient* client) { | 42 void DummyInputMethod::OnTextInputTypeChanged(const TextInputClient* client) { |
44 } | 43 } |
45 | 44 |
46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { | 45 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { |
47 } | 46 } |
48 | 47 |
49 void DummyInputMethod::CancelComposition(const TextInputClient* client) { | 48 void DummyInputMethod::CancelComposition(const TextInputClient* client) { |
50 } | 49 } |
(...skipping 28 matching lines...) Expand all Loading... |
79 void DummyInputMethod::ShowImeIfNeeded() { | 78 void DummyInputMethod::ShowImeIfNeeded() { |
80 } | 79 } |
81 | 80 |
82 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { | 81 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
83 } | 82 } |
84 | 83 |
85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 84 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
86 } | 85 } |
87 | 86 |
88 } // namespace ui | 87 } // namespace ui |
OLD | NEW |