| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/common/gpu/client/command_buffer_metrics.h" | 14 #include "content/common/gpu/client/command_buffer_metrics.h" |
| 15 #include "gpu/command_buffer/client/shared_memory_limits.h" | 15 #include "gpu/command_buffer/client/shared_memory_limits.h" |
| 16 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 16 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
| 17 #include "gpu/ipc/common/surface_handle.h" | 17 #include "gpu/ipc/common/surface_handle.h" |
| 18 #include "ui/android/context_provider_factory.h" | 18 #include "ui/android/context_provider_factory.h" |
| 19 | 19 |
| 20 namespace cc { | |
| 21 class VulkanInProcessContextProvider; | |
| 22 } | |
| 23 | |
| 24 namespace gpu { | 20 namespace gpu { |
| 25 class GpuChannelHost; | 21 class GpuChannelHost; |
| 26 class GpuChannelEstablishFactory; | 22 class GpuChannelEstablishFactory; |
| 27 } | 23 } |
| 28 | 24 |
| 29 namespace content { | 25 namespace content { |
| 30 class ContextProviderCommandBuffer; | 26 class ContextProviderCommandBuffer; |
| 31 | 27 |
| 32 class CONTENT_EXPORT ContextProviderFactoryImpl | 28 class CONTENT_EXPORT ContextProviderFactoryImpl |
| 33 : public ui::ContextProviderFactory { | 29 : public ui::ContextProviderFactory { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 uint32_t next_client_id_; | 103 uint32_t next_client_id_; |
| 108 | 104 |
| 109 base::WeakPtrFactory<ContextProviderFactoryImpl> weak_factory_; | 105 base::WeakPtrFactory<ContextProviderFactoryImpl> weak_factory_; |
| 110 | 106 |
| 111 DISALLOW_COPY_AND_ASSIGN(ContextProviderFactoryImpl); | 107 DISALLOW_COPY_AND_ASSIGN(ContextProviderFactoryImpl); |
| 112 }; | 108 }; |
| 113 | 109 |
| 114 } // namespace content | 110 } // namespace content |
| 115 | 111 |
| 116 #endif // CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H
_ | 112 #endif // CONTENT_BROWSER_RENDERER_HOST_CONTEXT_PROVIDER_FACTORY_IMPL_ANDROID_H
_ |
| OLD | NEW |