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

Side by Side Diff: mojo/services/native_viewport/native_viewport_service.h

Issue 404913002: Break dependency of native_viewport_service on mojo::shell::Context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move call to GetApplicationContext() to native_viewport_android Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ 5 #ifndef MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_
6 #define MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ 6 #define MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "mojo/public/cpp/application/application_impl.h" 9 #include "mojo/public/cpp/application/application_impl.h"
10 #include "mojo/services/native_viewport/native_viewport_export.h" 10 #include "mojo/services/native_viewport/native_viewport_export.h"
11 #include "mojo/shell/context.h" 11 #include "mojo/shell/context.h"
12 12
13 namespace mojo {
14 namespace services {
15
13 MOJO_NATIVE_VIEWPORT_EXPORT mojo::ApplicationImpl* 16 MOJO_NATIVE_VIEWPORT_EXPORT mojo::ApplicationImpl*
14 CreateNativeViewportService( 17 CreateNativeViewportService(
15 mojo::shell::Context* context, 18 ScopedMessagePipeHandle service_provider_handle);
16 mojo::ScopedMessagePipeHandle service_provider_handle); 19
20 } // namespace services
21 } // namespace mojo
17 22
18 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ 23 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_
OLDNEW
« no previous file with comments | « mojo/services/native_viewport/native_viewport_ozone.cc ('k') | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698