| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> |
| 5 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" | 6 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" |
| 6 | 7 |
| 7 namespace chromeos { | 8 namespace chromeos { |
| 8 | 9 |
| 9 MockIBusInputContextClient::MockIBusInputContextClient() | 10 MockIBusInputContextClient::MockIBusInputContextClient() |
| 10 : initialize_call_count_(0), | 11 : initialize_call_count_(0), |
| 11 is_initialized_(false), | 12 is_initialized_(false), |
| 12 reset_object_proxy_call_caount_(0), | 13 reset_object_proxy_call_caount_(0), |
| 13 set_capabilities_call_count_(0), | 14 set_capabilities_call_count_(0), |
| 14 focus_in_call_count_(0), | 15 focus_in_call_count_(0), |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 97 |
| 97 void MockIBusInputContextClient::ProcessKeyEvent( | 98 void MockIBusInputContextClient::ProcessKeyEvent( |
| 98 uint32 keyval, | 99 uint32 keyval, |
| 99 uint32 keycode, | 100 uint32 keycode, |
| 100 uint32 state, | 101 uint32 state, |
| 101 const ProcessKeyEventCallback& callback, | 102 const ProcessKeyEventCallback& callback, |
| 102 const ErrorCallback& error_callback) { | 103 const ErrorCallback& error_callback) { |
| 103 process_key_event_call_count_++; | 104 process_key_event_call_count_++; |
| 104 } | 105 } |
| 105 | 106 |
| 107 void MockIBusInputContextClient::SetSurroundingText( |
| 108 const std::string& text, |
| 109 uint32 cursor_pos, |
| 110 uint32 anchor_pos) { |
| 111 } |
| 112 |
| 106 } // namespace chromeos | 113 } // namespace chromeos |
| OLD | NEW |