| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/chromeos/input_method/mock_input_method_engine.h" | 5 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 namespace chromeos { | 9 namespace chromeos { |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 bool MockInputMethodEngine::UpdateMenuItems( | 84 bool MockInputMethodEngine::UpdateMenuItems( |
| 85 const std::vector<MenuItem>& items) { | 85 const std::vector<MenuItem>& items) { |
| 86 return true; | 86 return true; |
| 87 } | 87 } |
| 88 | 88 |
| 89 bool MockInputMethodEngine::IsActive() const { | 89 bool MockInputMethodEngine::IsActive() const { |
| 90 return true; | 90 return true; |
| 91 } | 91 } |
| 92 | 92 |
| 93 void MockInputMethodEngine::KeyEventDone(input_method::KeyEventHandle* key_data, | |
| 94 bool handled) { | |
| 95 } | |
| 96 | |
| 97 bool MockInputMethodEngine::DeleteSurroundingText(int context_id, | 93 bool MockInputMethodEngine::DeleteSurroundingText(int context_id, |
| 98 int offset, | 94 int offset, |
| 99 size_t number_of_chars, | 95 size_t number_of_chars, |
| 100 std::string* error) { | 96 std::string* error) { |
| 101 return true; | 97 return true; |
| 102 } | 98 } |
| 103 | 99 |
| 104 void MockInputMethodEngine::HideInputView() { | 100 void MockInputMethodEngine::HideInputView() { |
| 105 } | 101 } |
| 106 | 102 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 131 | 127 |
| 132 void MockInputMethodEngine::CandidateClicked(uint32 index) { | 128 void MockInputMethodEngine::CandidateClicked(uint32 index) { |
| 133 } | 129 } |
| 134 | 130 |
| 135 void MockInputMethodEngine::SetSurroundingText(const std::string& text, | 131 void MockInputMethodEngine::SetSurroundingText(const std::string& text, |
| 136 uint32 cursor_pos, | 132 uint32 cursor_pos, |
| 137 uint32 anchor_pos) { | 133 uint32 anchor_pos) { |
| 138 } | 134 } |
| 139 | 135 |
| 140 } // namespace chromeos | 136 } // namespace chromeos |
| OLD | NEW |