OLD | NEW |
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_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 5 #ifndef SERVICES_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
6 #define SERVICES_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 6 #define SERVICES_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "mojo/services/gpu/public/interfaces/context_provider.mojom.h" | 9 #include "mojo/services/gpu/interfaces/context_provider.mojom.h" |
10 #include "mojo/services/gpu/public/interfaces/viewport_parameter_listener.mojom.
h" | 10 #include "mojo/services/gpu/interfaces/viewport_parameter_listener.mojom.h" |
11 #include "services/gles2/command_buffer_impl.h" | 11 #include "services/gles2/command_buffer_impl.h" |
12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/gl/gl_surface.h" | 13 #include "ui/gl/gl_surface.h" |
14 | 14 |
15 namespace gles2 { | 15 namespace gles2 { |
16 class GpuState; | 16 class GpuState; |
17 } | 17 } |
18 | 18 |
19 namespace native_viewport { | 19 namespace native_viewport { |
20 | 20 |
(...skipping 27 matching lines...) Expand all Loading... |
48 mojo::ViewportParameterListenerPtr pending_listener_; | 48 mojo::ViewportParameterListenerPtr pending_listener_; |
49 CreateCallback pending_create_callback_; | 49 CreateCallback pending_create_callback_; |
50 mojo::Binding<mojo::ContextProvider> binding_; | 50 mojo::Binding<mojo::ContextProvider> binding_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider); | 52 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace mojo | 55 } // namespace mojo |
56 | 56 |
57 #endif // SERVICES_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 57 #endif // SERVICES_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
OLD | NEW |