| 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 SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 5 #ifndef SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| 6 #define SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 6 #define SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 std::unique_ptr<gpu::TransferBuffer> transfer_buffer_; | 80 std::unique_ptr<gpu::TransferBuffer> transfer_buffer_; |
| 81 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; | 81 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; |
| 82 | 82 |
| 83 gpu::Capabilities capabilities_; | 83 gpu::Capabilities capabilities_; |
| 84 LostContextCallback lost_context_callback_; | 84 LostContextCallback lost_context_callback_; |
| 85 | 85 |
| 86 SurfacesContextProviderDelegate* delegate_; | 86 SurfacesContextProviderDelegate* delegate_; |
| 87 gfx::AcceleratedWidget widget_; | 87 gfx::AcceleratedWidget widget_; |
| 88 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_; | 88 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_; |
| 89 gl::GLSurface::SwapCompletionCallback swap_buffers_completion_callback_; | 89 gl::GLSurface::SwapCompletionCallback swap_buffers_completion_callback_; |
| 90 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 90 | 91 |
| 91 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); | 92 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 } // namespace ui | 95 } // namespace ui |
| 95 | 96 |
| 96 #endif // SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 97 #endif // SERVICES_UI_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| OLD | NEW |