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

Side by Side Diff: services/ui/input_manager/input_manager_app.h

Issue 1928183002: Use TraceProviderRegistry in //services/dart/dart_tracing.*. (Closed) Base URL: https://github.com/domokit/mojo.git@work787_trace_provider_registry_2
Patch Set: gah Created 4 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
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_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ 5 #ifndef SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_
6 #define SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ 6 #define SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mojo/common/strong_binding_set.h" 11 #include "mojo/common/strong_binding_set.h"
12 #include "mojo/common/tracing_impl.h" 12 #include "mojo/common/tracing_impl.h"
13 #include "mojo/public/cpp/application/application_delegate.h" 13 #include "mojo/public/cpp/application/application_delegate.h"
14 #include "mojo/public/cpp/application/interface_factory.h"
14 #include "mojo/services/ui/views/interfaces/view_associates.mojom.h" 15 #include "mojo/services/ui/views/interfaces/view_associates.mojom.h"
15 16
16 namespace input_manager { 17 namespace input_manager {
17 18
18 // Input manager application entry point. 19 // Input manager application entry point.
19 class InputManagerApp : public mojo::ApplicationDelegate, 20 class InputManagerApp : public mojo::ApplicationDelegate,
20 public mojo::InterfaceFactory<mojo::ui::ViewAssociate> { 21 public mojo::InterfaceFactory<mojo::ui::ViewAssociate> {
21 public: 22 public:
22 InputManagerApp(); 23 InputManagerApp();
23 ~InputManagerApp() override; 24 ~InputManagerApp() override;
(...skipping 12 matching lines...) Expand all
36 mojo::TracingImpl tracing_; 37 mojo::TracingImpl tracing_;
37 38
38 mojo::StrongBindingSet<mojo::ui::ViewAssociate> input_associates; 39 mojo::StrongBindingSet<mojo::ui::ViewAssociate> input_associates;
39 40
40 DISALLOW_COPY_AND_ASSIGN(InputManagerApp); 41 DISALLOW_COPY_AND_ASSIGN(InputManagerApp);
41 }; 42 };
42 43
43 } // namespace input_manager 44 } // namespace input_manager
44 45
45 #endif // SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_ 46 #endif // SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_
OLDNEW
« services/gfx/compositor/compositor_app.h ('K') | « services/gfx/compositor/compositor_app.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698