Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: services/keyboard/linux/keyboard_service_impl.h

Issue 1647953007: Remove DartPackage annotation from NativeViewport and GPU mojoms (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebased Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/services/surfaces/interfaces/display.mojom ('k') | services/keyboard/linux/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 9 #include "mojo/public/cpp/application/interface_factory.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h" 10 #include "mojo/public/cpp/bindings/strong_binding.h"
11 #include "mojo/public/interfaces/application/shell.mojom.h" 11 #include "mojo/public/interfaces/application/shell.mojom.h"
12 #include "mojo/services/keyboard/interfaces/keyboard.mojom.h" 12 #include "mojo/services/keyboard/interfaces/keyboard.mojom.h"
13 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" 13 #include "mojo/services/native_viewport/interfaces/native_viewport_event_dispatc her.mojom.h"
14 14
15 namespace keyboard { 15 namespace keyboard {
16 16
17 class LinuxKeyboardServiceImpl : public keyboard::KeyboardService, 17 class LinuxKeyboardServiceImpl : public keyboard::KeyboardService,
18 public mojo::NativeViewportEventDispatcher { 18 public mojo::NativeViewportEventDispatcher {
19 public: 19 public:
20 LinuxKeyboardServiceImpl( 20 LinuxKeyboardServiceImpl(
21 mojo::InterfaceRequest<keyboard::KeyboardService> request, 21 mojo::InterfaceRequest<keyboard::KeyboardService> request,
22 mojo::InterfaceRequest<NativeViewportEventDispatcher> dispatcher); 22 mojo::InterfaceRequest<NativeViewportEventDispatcher> dispatcher);
23 ~LinuxKeyboardServiceImpl() override; 23 ~LinuxKeyboardServiceImpl() override;
(...skipping 16 matching lines...) Expand all
40 40
41 keyboard::KeyboardClientPtr client_; 41 keyboard::KeyboardClientPtr client_;
42 std::string text_; 42 std::string text_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(LinuxKeyboardServiceImpl); 44 DISALLOW_COPY_AND_ASSIGN(LinuxKeyboardServiceImpl);
45 }; 45 };
46 46
47 } // namespace keyboard 47 } // namespace keyboard
48 48
49 #endif // defined(SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_) 49 #endif // defined(SERVICES_KEYBOARD_LINUX_KEYBOARD_SERVICE_IMPL_H_)
OLDNEW
« no previous file with comments | « mojo/services/surfaces/interfaces/display.mojom ('k') | services/keyboard/linux/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698