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

Side by Side Diff: sky/shell/ui/internals.h

Issue 962043002: Expose Android sensors to via Mojo services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Review comments Created 5 years, 9 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 | « sky/shell/ui/engine.cc ('k') | sky/shell/ui/internals.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 2014 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 #ifndef SKY_SHELL_UI_INTERNALS_H_
6 #define SKY_SHELL_UI_INTERNALS_H_
7
8 #include "base/supports_user_data.h"
9 #include "dart/runtime/include/dart_api.h"
10 #include "mojo/public/interfaces/application/service_provider.mojom.h"
11
12 namespace sky {
13 namespace shell {
14
15 class Internals : public base::SupportsUserData::Data {
16 public:
17 virtual ~Internals();
18
19 static void Create(Dart_Isolate isolate,
20 mojo::ServiceProviderPtr service_provider);
21
22 mojo::Handle TakeServicesProvidedByEmbedder();
23
24 private:
25 explicit Internals(mojo::ServiceProviderPtr service_provider);
26
27 mojo::ServiceProviderPtr service_provider_;
28
29 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals);
30 };
31
32 } // namespace shell
33 } // namespace sky
34
35 #endif // SKY_SHELL_UI_INTERNALS_H_
OLDNEW
« no previous file with comments | « sky/shell/ui/engine.cc ('k') | sky/shell/ui/internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698