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 COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_IMPL_H_ |
6 #define COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_ | 6 #define COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "components/gpu/public/interfaces/command_buffer.mojom.h" | 11 #include "components/view_manager/public/interfaces/command_buffer.mojom.h" |
12 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h" | 12 #include "components/view_manager/public/interfaces/viewport_parameter_listener.
mojom.h" |
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
14 | 14 |
15 namespace gpu { | 15 namespace gpu { |
16 class SyncPointManager; | 16 class SyncPointManager; |
17 } | 17 } |
18 | 18 |
19 namespace gles2 { | 19 namespace gles2 { |
20 class CommandBufferDriver; | 20 class CommandBufferDriver; |
21 class CommandBufferImplObserver; | 21 class CommandBufferImplObserver; |
22 | 22 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 mojo::ViewportParameterListenerPtr viewport_parameter_listener_; | 67 mojo::ViewportParameterListenerPtr viewport_parameter_listener_; |
68 mojo::StrongBinding<CommandBuffer> binding_; | 68 mojo::StrongBinding<CommandBuffer> binding_; |
69 CommandBufferImplObserver* observer_; | 69 CommandBufferImplObserver* observer_; |
70 | 70 |
71 base::WeakPtrFactory<CommandBufferImpl> weak_factory_; | 71 base::WeakPtrFactory<CommandBufferImpl> weak_factory_; |
72 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); | 72 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace gles2 | 75 } // namespace gles2 |
76 | 76 |
77 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_ | 77 #endif // COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |