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

Side by Side Diff: services/keyboard_native/keyboard_service_impl.h

Issue 1139453002: Initial native keyboard proof of concept. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Addressed comments. Created 5 years, 7 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 | « services/keyboard_native/BUILD.gn ('k') | services/keyboard_native/keyboard_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/macros.h"
6 #include "mojo/public/cpp/bindings/interface_request.h"
7 #include "mojo/public/cpp/bindings/strong_binding.h"
8 #include "mojo/services/keyboard/public/interfaces/keyboard.mojom.h"
9
10 namespace keyboard {
11
12 class KeyboardServiceImpl : public KeyboardService {
13 public:
14 explicit KeyboardServiceImpl(mojo::InterfaceRequest<KeyboardService> request);
15 ~KeyboardServiceImpl() override;
16
17 // KeyboardService implementation.
18 void Show(KeyboardClientPtr client) override;
19 void ShowByRequest() override;
20 void Hide() override;
21
22 private:
23 mojo::StrongBinding<KeyboardService> strong_binding_;
24
25 DISALLOW_COPY_AND_ASSIGN(KeyboardServiceImpl);
26 };
27
28 } // namespace keyboard
OLDNEW
« no previous file with comments | « services/keyboard_native/BUILD.gn ('k') | services/keyboard_native/keyboard_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698