| 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/chromeos/mock_ime_input_context_handler.h" | 5 #include "ui/base/ime/chromeos/mock_ime_input_context_handler.h" |
| 6 | 6 |
| 7 #include "ui/base/ime/composition_text.h" | 7 #include "ui/base/ime/composition_text.h" |
| 8 | 8 |
| 9 namespace chromeos { | 9 namespace chromeos { |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 last_delete_surrounding_text_arg_.length = length; | 39 last_delete_surrounding_text_arg_.length = length; |
| 40 } | 40 } |
| 41 | 41 |
| 42 void MockIMEInputContextHandler::Reset() { | 42 void MockIMEInputContextHandler::Reset() { |
| 43 commit_text_call_count_ = 0; | 43 commit_text_call_count_ = 0; |
| 44 update_preedit_text_call_count_ = 0; | 44 update_preedit_text_call_count_ = 0; |
| 45 delete_surrounding_text_call_count_ = 0; | 45 delete_surrounding_text_call_count_ = 0; |
| 46 last_commit_text_.clear(); | 46 last_commit_text_.clear(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 void MockIMEInputContextHandler::SendKeyEvent(ui::KeyEvent* event) {} |
| 50 |
| 49 } // namespace chromeos | 51 } // namespace chromeos |
| OLD | NEW |