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

Side by Side Diff: services/keyboard/linux/main.cc

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 | « services/keyboard/linux/keyboard_service_impl.h ('k') | services/ui/launcher/launcher_app.h » ('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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "base/threading/sequenced_worker_pool.h" 6 #include "base/threading/sequenced_worker_pool.h"
7 #include "mojo/application/application_runner_chromium.h" 7 #include "mojo/application/application_runner_chromium.h"
8 #include "mojo/public/c/system/main.h" 8 #include "mojo/public/c/system/main.h"
9 #include "mojo/public/cpp/application/application_connection.h" 9 #include "mojo/public/cpp/application/application_connection.h"
10 #include "mojo/public/cpp/application/application_delegate.h" 10 #include "mojo/public/cpp/application/application_delegate.h"
11 #include "mojo/public/cpp/application/application_impl.h" 11 #include "mojo/public/cpp/application/application_impl.h"
12 #include "mojo/public/cpp/application/connect.h" 12 #include "mojo/public/cpp/application/connect.h"
13 #include "mojo/public/cpp/application/interface_factory.h" 13 #include "mojo/public/cpp/application/interface_factory.h"
14 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" 14 #include "mojo/services/native_viewport/interfaces/native_viewport_event_dispatc her.mojom.h"
15 #include "services/keyboard/linux/keyboard_service_impl.h" 15 #include "services/keyboard/linux/keyboard_service_impl.h"
16 16
17 namespace keyboard { 17 namespace keyboard {
18 18
19 class KeyboardServiceFactoryImpl : public keyboard::KeyboardServiceFactory { 19 class KeyboardServiceFactoryImpl : public keyboard::KeyboardServiceFactory {
20 public: 20 public:
21 explicit KeyboardServiceFactoryImpl( 21 explicit KeyboardServiceFactoryImpl(
22 mojo::InterfaceRequest<KeyboardServiceFactory> request) 22 mojo::InterfaceRequest<KeyboardServiceFactory> request)
23 : binding_(this, request.Pass()) {} 23 : binding_(this, request.Pass()) {}
24 24
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 DISALLOW_COPY_AND_ASSIGN(KeyboardServiceApp); 63 DISALLOW_COPY_AND_ASSIGN(KeyboardServiceApp);
64 }; 64 };
65 65
66 } // namespace keyboard 66 } // namespace keyboard
67 67
68 MojoResult MojoMain(MojoHandle application_request) { 68 MojoResult MojoMain(MojoHandle application_request) {
69 mojo::ApplicationRunnerChromium runner( 69 mojo::ApplicationRunnerChromium runner(
70 new keyboard::KeyboardServiceApp()); 70 new keyboard::KeyboardServiceApp());
71 return runner.Run(application_request); 71 return runner.Run(application_request);
72 } 72 }
OLDNEW
« no previous file with comments | « services/keyboard/linux/keyboard_service_impl.h ('k') | services/ui/launcher/launcher_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698