| 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 #ifndef CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ | 6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chromeos/dbus/ibus/ibus_input_context_client.h" | 10 #include "chromeos/dbus/ibus/ibus_input_context_client.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 95 } |
| 96 | 96 |
| 97 void set_set_surrounding_text_handler( | 97 void set_set_surrounding_text_handler( |
| 98 const SetSurroundingTextHandler& handler) { | 98 const SetSurroundingTextHandler& handler) { |
| 99 set_surrounding_text_handler_ = handler; | 99 set_surrounding_text_handler_ = handler; |
| 100 } | 100 } |
| 101 | 101 |
| 102 private: | 102 private: |
| 103 int initialize_call_count_; | 103 int initialize_call_count_; |
| 104 bool is_initialized_; | 104 bool is_initialized_; |
| 105 bool is_xkb_layout_; |
| 105 int reset_object_proxy_call_caount_; | 106 int reset_object_proxy_call_caount_; |
| 106 int set_capabilities_call_count_; | 107 int set_capabilities_call_count_; |
| 107 int focus_in_call_count_; | 108 int focus_in_call_count_; |
| 108 int focus_out_call_count_; | 109 int focus_out_call_count_; |
| 109 int reset_call_count_; | 110 int reset_call_count_; |
| 110 int set_cursor_location_call_count_; | 111 int set_cursor_location_call_count_; |
| 111 int process_key_event_call_count_; | 112 int process_key_event_call_count_; |
| 112 int set_surrounding_text_call_count_; | 113 int set_surrounding_text_call_count_; |
| 113 ProcessKeyEventHandler process_key_event_handler_; | 114 ProcessKeyEventHandler process_key_event_handler_; |
| 114 SetSurroundingTextHandler set_surrounding_text_handler_; | 115 SetSurroundingTextHandler set_surrounding_text_handler_; |
| 115 | 116 |
| 116 DISALLOW_COPY_AND_ASSIGN(MockIBusInputContextClient); | 117 DISALLOW_COPY_AND_ASSIGN(MockIBusInputContextClient); |
| 117 }; | 118 }; |
| 118 } // namespace chromeos | 119 } // namespace chromeos |
| 119 | 120 |
| 120 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ | 121 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_INPUT_CONTEXT_CLIENT_H_ |
| OLD | NEW |