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 "chromeos/ime/mock_ime_input_context_handler.h" | 5 #include "chromeos/ime/mock_ime_input_context_handler.h" |
6 | 6 |
7 #include "chromeos/dbus/ibus/ibus_text.h" | 7 #include "chromeos/ime/ibus_text.h" |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 | 10 |
11 MockIMEInputContextHandler::MockIMEInputContextHandler() | 11 MockIMEInputContextHandler::MockIMEInputContextHandler() |
12 : commit_text_call_count_(0), | 12 : commit_text_call_count_(0), |
13 forward_key_event_call_count_(0), | 13 forward_key_event_call_count_(0), |
14 update_preedit_text_call_count_(0), | 14 update_preedit_text_call_count_(0), |
15 show_preedit_text_call_count_(0), | 15 show_preedit_text_call_count_(0), |
16 hide_preedit_text_call_count_(0), | 16 hide_preedit_text_call_count_(0), |
17 delete_surrounding_text_call_count_(0) { | 17 delete_surrounding_text_call_count_(0) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 commit_text_call_count_ = 0; | 59 commit_text_call_count_ = 0; |
60 forward_key_event_call_count_ = 0; | 60 forward_key_event_call_count_ = 0; |
61 update_preedit_text_call_count_ = 0; | 61 update_preedit_text_call_count_ = 0; |
62 show_preedit_text_call_count_ = 0; | 62 show_preedit_text_call_count_ = 0; |
63 hide_preedit_text_call_count_ = 0; | 63 hide_preedit_text_call_count_ = 0; |
64 delete_surrounding_text_call_count_ = 0; | 64 delete_surrounding_text_call_count_ = 0; |
65 last_commit_text_.clear(); | 65 last_commit_text_.clear(); |
66 } | 66 } |
67 | 67 |
68 } // namespace chromeos | 68 } // namespace chromeos |
OLD | NEW |