| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 5 #ifndef UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
| 6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "mojo/public/cpp/bindings/binding.h" | 9 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
| 10 #include "ui/base/ime/input_method_observer.h" | 10 #include "ui/base/ime/input_method_observer.h" |
| 11 #include "ui/keyboard/webui/keyboard.mojom.h" | 11 #include "ui/keyboard/webui/keyboard.mojom.h" |
| 12 | 12 |
| 13 namespace keyboard { | 13 namespace keyboard { |
| 14 | 14 |
| 15 class VKMojoHandler : public KeyboardUIHandlerMojo, | 15 class VKMojoHandler : public KeyboardUIHandlerMojo, |
| 16 public ui::InputMethodObserver { | 16 public ui::InputMethodObserver { |
| 17 public: | 17 public: |
| 18 explicit VKMojoHandler(mojo::InterfaceRequest<KeyboardUIHandlerMojo> request); | 18 explicit VKMojoHandler(mojo::InterfaceRequest<KeyboardUIHandlerMojo> request); |
| 19 ~VKMojoHandler() override; | 19 ~VKMojoHandler() override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 void OnShowImeIfNeeded() override; | 39 void OnShowImeIfNeeded() override; |
| 40 | 40 |
| 41 mojo::Binding<KeyboardUIHandlerMojo> binding_; | 41 mojo::Binding<KeyboardUIHandlerMojo> binding_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler); | 43 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace keyboard | 46 } // namespace keyboard |
| 47 | 47 |
| 48 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 48 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
| OLD | NEW |