OLD | NEW |
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/bindings/remote_ptr.h" | 9 #include "mojo/public/cpp/bindings/remote_ptr.h" |
10 #include "mojo/public/cpp/shell/application.h" | 10 #include "mojo/public/cpp/shell/application.h" |
11 #include "mojo/services/native_viewport/native_viewport_export.h" | 11 #include "mojo/services/native_viewport/native_viewport_export.h" |
12 #include "mojo/shell/context.h" | 12 #include "mojo/shell/context.h" |
13 | 13 |
14 #if defined(OS_ANDROID) | 14 #if defined(OS_ANDROID) |
15 MOJO_NATIVE_VIEWPORT_EXPORT mojo::Application* | 15 MOJO_NATIVE_VIEWPORT_EXPORT mojo::Application* |
16 CreateNativeViewportService(mojo::shell::Context* context, | 16 CreateNativeViewportService(mojo::shell::Context* context, |
17 mojo::ScopedShellHandle shell_handle); | 17 mojo::ScopedShellHandle shell_handle); |
18 #endif | 18 #endif |
19 | 19 |
20 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ | 20 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_SERVICE_H_ |
OLD | NEW |