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 COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
6 #define COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 6 #define COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "components/gles2/command_buffer_impl_observer.h" | 11 #include "components/view_manager/gles2/command_buffer_impl_observer.h" |
12 #include "components/gpu/public/interfaces/context_provider.mojom.h" | 12 #include "components/view_manager/public/interfaces/context_provider.mojom.h" |
13 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h" | 13 #include "components/view_manager/public/interfaces/viewport_parameter_listener.
mojom.h" |
14 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
15 | 15 |
16 namespace gles2 { | 16 namespace gles2 { |
17 class CommandBufferDriver; | 17 class CommandBufferDriver; |
18 class CommandBufferImpl; | 18 class CommandBufferImpl; |
19 class GpuState; | 19 class GpuState; |
20 } | 20 } |
21 | 21 |
22 namespace native_viewport { | 22 namespace native_viewport { |
23 | 23 |
(...skipping 25 matching lines...) Expand all Loading... |
49 CreateCallback pending_create_callback_; | 49 CreateCallback pending_create_callback_; |
50 mojo::Binding<mojo::ContextProvider> binding_; | 50 mojo::Binding<mojo::ContextProvider> binding_; |
51 std::set<gles2::CommandBufferDriver*> command_buffers_; | 51 std::set<gles2::CommandBufferDriver*> command_buffers_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider); | 53 DISALLOW_COPY_AND_ASSIGN(OnscreenContextProvider); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace mojo | 56 } // namespace mojo |
57 | 57 |
58 #endif // COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ | 58 #endif // COMPONENTS_VIEW_MANAGER_NATIVE_VIEWPORT_ONSCREEN_CONTEXT_PROVIDER_H_ |
OLD | NEW |