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_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ |
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ | 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
11 #include "components/mus/public/interfaces/command_buffer.mojom.h" | 14 #include "components/mus/public/interfaces/command_buffer.mojom.h" |
12 #include "mojo/public/cpp/bindings/binding.h" | 15 #include "mojo/public/cpp/bindings/binding.h" |
13 | 16 |
14 namespace mus { | 17 namespace mus { |
15 | 18 |
16 class CommandBufferDriver; | 19 class CommandBufferDriver; |
17 class CommandBufferImplObserver; | 20 class CommandBufferImplObserver; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 scoped_ptr<mojo::Binding<CommandBuffer>> binding_; | 101 scoped_ptr<mojo::Binding<CommandBuffer>> binding_; |
99 CommandBufferImplObserver* observer_; | 102 CommandBufferImplObserver* observer_; |
100 base::WeakPtrFactory<CommandBufferImpl> weak_ptr_factory_; | 103 base::WeakPtrFactory<CommandBufferImpl> weak_ptr_factory_; |
101 | 104 |
102 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); | 105 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |
103 }; | 106 }; |
104 | 107 |
105 } // namespace mus | 108 } // namespace mus |
106 | 109 |
107 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ | 110 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |