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 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ |
6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ | 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ |
7 | 7 |
8 #include "chromeos/ime/candidate_window.h" | 8 #include "chromeos/ime/candidate_window.h" |
9 #include "ui/base/ime/chromeos/ibus_bridge.h" | 9 #include "ui/base/ime/chromeos/ibus_bridge.h" |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_base_export.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 | 13 |
14 class UI_EXPORT MockIMECandidateWindowHandler | 14 class UI_BASE_EXPORT MockIMECandidateWindowHandler |
15 : public IBusPanelCandidateWindowHandlerInterface { | 15 : public IBusPanelCandidateWindowHandlerInterface { |
16 public: | 16 public: |
17 struct UpdateLookupTableArg { | 17 struct UpdateLookupTableArg { |
18 input_method::CandidateWindow lookup_table; | 18 input_method::CandidateWindow lookup_table; |
19 bool is_visible; | 19 bool is_visible; |
20 }; | 20 }; |
21 | 21 |
22 struct UpdateAuxiliaryTextArg { | 22 struct UpdateAuxiliaryTextArg { |
23 std::string text; | 23 std::string text; |
24 bool is_visible; | 24 bool is_visible; |
(...skipping 27 matching lines...) Expand all Loading... |
52 | 52 |
53 private: | 53 private: |
54 int set_cursor_bounds_call_count_; | 54 int set_cursor_bounds_call_count_; |
55 int update_lookup_table_call_count_; | 55 int update_lookup_table_call_count_; |
56 UpdateLookupTableArg last_update_lookup_table_arg_; | 56 UpdateLookupTableArg last_update_lookup_table_arg_; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace chromeos | 59 } // namespace chromeos |
60 | 60 |
61 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ | 61 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_CANDIDATE_WINDOW_HANDLER_H_ |
OLD | NEW |