| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_AURA_MUS_INPUT_METHOD_MUS_H_ | 5 #ifndef UI_AURA_MUS_INPUT_METHOD_MUS_H_ |
| 6 #define UI_AURA_MUS_INPUT_METHOD_MUS_H_ | 6 #define UI_AURA_MUS_INPUT_METHOD_MUS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 10 #include "services/service_manager/public/cpp/connector.h" | 10 #include "services/service_manager/public/cpp/connector.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void ProcessKeyEventCallback( | 57 void ProcessKeyEventCallback( |
| 58 const ui::KeyEvent& event, | 58 const ui::KeyEvent& event, |
| 59 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>> | 59 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>> |
| 60 ack_callback, | 60 ack_callback, |
| 61 bool handled); | 61 bool handled); |
| 62 | 62 |
| 63 // The toplevel window which is not owned by this class. This may be null | 63 // The toplevel window which is not owned by this class. This may be null |
| 64 // for tests. | 64 // for tests. |
| 65 Window* window_; | 65 Window* window_; |
| 66 | 66 |
| 67 // May be null in tests. |
| 67 ui::mojom::IMEServerPtr ime_server_; | 68 ui::mojom::IMEServerPtr ime_server_; |
| 68 ui::mojom::InputMethodPtr input_method_; | 69 ui::mojom::InputMethodPtr input_method_; |
| 69 std::unique_ptr<TextInputClientImpl> text_input_client_; | 70 std::unique_ptr<TextInputClientImpl> text_input_client_; |
| 70 | 71 |
| 71 DISALLOW_COPY_AND_ASSIGN(InputMethodMus); | 72 DISALLOW_COPY_AND_ASSIGN(InputMethodMus); |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace aura | 75 } // namespace aura |
| 75 | 76 |
| 76 #endif // UI_AURA_MUS_INPUT_METHOD_MUS_H_ | 77 #endif // UI_AURA_MUS_INPUT_METHOD_MUS_H_ |
| OLD | NEW |