OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 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 SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_ | 5 #ifndef SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_ |
6 #define SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_ | 6 #define SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/application/interface_factory.h" | |
10 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
11 #include "mojo/public/interfaces/application/shell.mojom.h" | 10 #include "mojo/public/interfaces/application/shell.mojom.h" |
12 #include "mojo/services/keyboard/interfaces/keyboard.mojom.h" | 11 #include "mojo/services/keyboard/interfaces/keyboard.mojom.h" |
13 #include "mojo/services/native_viewport/interfaces/native_viewport_event_dispatc
her.mojom.h" | 12 #include "mojo/services/native_viewport/interfaces/native_viewport_event_dispatc
her.mojom.h" |
14 | 13 |
15 namespace keyboard { | 14 namespace keyboard { |
16 | 15 |
17 class LinuxKeyboardServiceImpl : public keyboard::KeyboardService, | 16 class LinuxKeyboardServiceImpl : public keyboard::KeyboardService, |
18 public mojo::NativeViewportEventDispatcher { | 17 public mojo::NativeViewportEventDispatcher { |
19 public: | 18 public: |
(...skipping 20 matching lines...) Expand all Loading... |
40 | 39 |
41 keyboard::KeyboardClientPtr client_; | 40 keyboard::KeyboardClientPtr client_; |
42 std::string text_; | 41 std::string text_; |
43 | 42 |
44 DISALLOW_COPY_AND_ASSIGN(LinuxKeyboardServiceImpl); | 43 DISALLOW_COPY_AND_ASSIGN(LinuxKeyboardServiceImpl); |
45 }; | 44 }; |
46 | 45 |
47 } // namespace keyboard | 46 } // namespace keyboard |
48 | 47 |
49 #endif // defined(SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_) | 48 #endif // defined(SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_) |
OLD | NEW |