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_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_MOCK_IBUS_CLIENT_H_ |
6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_CLIENT_H_ | 6 #define CHROMEOS_DBUS_IBUS_MOCK_IBUS_CLIENT_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include "base/callback.h" | 9 #include "base/callback.h" |
11 #include "chromeos/dbus/ibus/ibus_client.h" | 10 #include "chromeos/dbus/ibus/ibus_client.h" |
12 | 11 |
13 namespace chromeos { | 12 namespace chromeos { |
14 | 13 |
15 class MockIBusClient : public IBusClient { | 14 class MockIBusClient : public IBusClient { |
16 public: | 15 public: |
17 MockIBusClient(); | 16 MockIBusClient(); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 RegisterComponentHandler register_component_handler_; | 64 RegisterComponentHandler register_component_handler_; |
66 int create_input_context_call_count_; | 65 int create_input_context_call_count_; |
67 int register_component_call_count_; | 66 int register_component_call_count_; |
68 | 67 |
69 DISALLOW_COPY_AND_ASSIGN(MockIBusClient); | 68 DISALLOW_COPY_AND_ASSIGN(MockIBusClient); |
70 }; | 69 }; |
71 | 70 |
72 } // namespace chromeos | 71 } // namespace chromeos |
73 | 72 |
74 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_CLIENT_H_ | 73 #endif // CHROMEOS_DBUS_IBUS_MOCK_IBUS_CLIENT_H_ |
OLD | NEW |