OLD | NEW |
1 | 1 |
2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h" | 6 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h" |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 void MockInputMethodEngine::Reset() {} | 113 void MockInputMethodEngine::Reset() {} |
114 | 114 |
115 bool MockInputMethodEngine::IsInterestedInKeyEvent() const { | 115 bool MockInputMethodEngine::IsInterestedInKeyEvent() const { |
116 return true; | 116 return true; |
117 } | 117 } |
118 | 118 |
119 void MockInputMethodEngine::ProcessKeyEvent(const ui::KeyEvent& key_event, | 119 void MockInputMethodEngine::ProcessKeyEvent(const ui::KeyEvent& key_event, |
120 KeyEventDoneCallback& callback) {} | 120 KeyEventDoneCallback& callback) {} |
121 | 121 |
122 void MockInputMethodEngine::CandidateClicked(uint32 index) {} | 122 void MockInputMethodEngine::CandidateClicked(uint32_t index) {} |
123 | 123 |
124 void MockInputMethodEngine::SetSurroundingText(const std::string& text, | 124 void MockInputMethodEngine::SetSurroundingText(const std::string& text, |
125 uint32 cursor_pos, | 125 uint32_t cursor_pos, |
126 uint32 anchor_pos, | 126 uint32_t anchor_pos, |
127 uint32 offset_pos) {} | 127 uint32_t offset_pos) {} |
128 | 128 |
129 void MockInputMethodEngine::SetCompositionBounds( | 129 void MockInputMethodEngine::SetCompositionBounds( |
130 const std::vector<gfx::Rect>& bounds) {} | 130 const std::vector<gfx::Rect>& bounds) {} |
131 | 131 |
132 } // namespace chromeos | 132 } // namespace chromeos |
OLD | NEW |