| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ | 5 #ifndef MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ |
| 6 #define MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ | 6 #define MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ |
| 7 | 7 |
| 8 #include "mojo/application_manager/application_loader.h" | |
| 9 #include "mojo/public/cpp/application/application_delegate.h" | 8 #include "mojo/public/cpp/application/application_delegate.h" |
| 10 #include "mojo/public/cpp/application/interface_factory.h" | 9 #include "mojo/public/cpp/application/interface_factory.h" |
| 11 #include "mojo/services/gpu/public/interfaces/gpu.mojom.h" | 10 #include "mojo/services/gpu/public/interfaces/gpu.mojom.h" |
| 12 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" | 11 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" |
| 13 #include "services/gles2/gpu_impl.h" | 12 #include "services/gles2/gpu_impl.h" |
| 13 #include "shell/application_manager/application_loader.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 | 16 |
| 17 class ApplicationImpl; | 17 class ApplicationImpl; |
| 18 | 18 |
| 19 namespace shell { | 19 namespace shell { |
| 20 | 20 |
| 21 class NativeViewportApplicationLoader : public ApplicationLoader, | 21 class NativeViewportApplicationLoader : public ApplicationLoader, |
| 22 public ApplicationDelegate, | 22 public ApplicationDelegate, |
| 23 public InterfaceFactory<NativeViewport>, | 23 public InterfaceFactory<NativeViewport>, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 51 scoped_refptr<gles2::GpuImpl::State> gpu_state_; | 51 scoped_refptr<gles2::GpuImpl::State> gpu_state_; |
| 52 scoped_ptr<ApplicationImpl> app_; | 52 scoped_ptr<ApplicationImpl> app_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationLoader); | 54 DISALLOW_COPY_AND_ASSIGN(NativeViewportApplicationLoader); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace shell | 57 } // namespace shell |
| 58 } // namespace mojo | 58 } // namespace mojo |
| 59 | 59 |
| 60 #endif // MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ | 60 #endif // MOJO_SHELL_ANDROID_NATIVE_VIEWPORT_APPLICATION_LOADER_H_ |
| OLD | NEW |