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 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 | 26 |
27 bool DummyInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, | 27 bool DummyInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event, |
28 NativeEventResult* result) { | 28 NativeEventResult* result) { |
29 return false; | 29 return false; |
30 } | 30 } |
31 | 31 |
32 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) { | 32 void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) { |
33 } | 33 } |
34 | 34 |
| 35 void DummyInputMethod::DetachTextInputClient(TextInputClient* client) { |
| 36 } |
| 37 |
35 TextInputClient* DummyInputMethod::GetTextInputClient() const { | 38 TextInputClient* DummyInputMethod::GetTextInputClient() const { |
36 return NULL; | 39 return NULL; |
37 } | 40 } |
38 | 41 |
39 bool DummyInputMethod::DispatchKeyEvent(const base::NativeEvent& event) { | 42 bool DummyInputMethod::DispatchKeyEvent(const base::NativeEvent& event) { |
40 return false; | 43 return false; |
41 } | 44 } |
42 | 45 |
43 bool DummyInputMethod::DispatchFabricatedKeyEvent(const ui::KeyEvent& event) { | 46 bool DummyInputMethod::DispatchFabricatedKeyEvent(const ui::KeyEvent& event) { |
44 return false; | 47 return false; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 88 } |
86 | 89 |
87 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { | 90 void DummyInputMethod::AddObserver(InputMethodObserver* observer) { |
88 } | 91 } |
89 | 92 |
90 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { | 93 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { |
91 } | 94 } |
92 | 95 |
93 } // namespace ui | 96 } // namespace ui |
94 | 97 |
OLD | NEW |