OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GPU_GPU_CHILD_THREAD_H_ | 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ |
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ | 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <queue> | 10 #include <queue> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 // GpuChannelManagerDelegate implementation. | 81 // GpuChannelManagerDelegate implementation. |
82 void SetActiveURL(const GURL& url) override; | 82 void SetActiveURL(const GURL& url) override; |
83 void AddSubscription(int32_t client_id, unsigned int target) override; | 83 void AddSubscription(int32_t client_id, unsigned int target) override; |
84 void DidCreateOffscreenContext(const GURL& active_url) override; | 84 void DidCreateOffscreenContext(const GURL& active_url) override; |
85 void DidDestroyChannel(int client_id) override; | 85 void DidDestroyChannel(int client_id) override; |
86 void DidDestroyOffscreenContext(const GURL& active_url) override; | 86 void DidDestroyOffscreenContext(const GURL& active_url) override; |
87 void DidLoseContext(bool offscreen, | 87 void DidLoseContext(bool offscreen, |
88 gpu::error::ContextLostReason reason, | 88 gpu::error::ContextLostReason reason, |
89 const GURL& active_url) override; | 89 const GURL& active_url) override; |
90 void GpuMemoryUmaStats(const GPUMemoryUmaStats& params) override; | 90 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; |
91 void RemoveSubscription(int32_t client_id, unsigned int target) override; | 91 void RemoveSubscription(int32_t client_id, unsigned int target) override; |
92 #if defined(OS_MACOSX) | 92 #if defined(OS_MACOSX) |
93 void SendAcceleratedSurfaceBuffersSwapped( | 93 void SendAcceleratedSurfaceBuffersSwapped( |
94 const AcceleratedSurfaceBuffersSwappedParams& params) override; | 94 const AcceleratedSurfaceBuffersSwappedParams& params) override; |
95 #endif | 95 #endif |
96 #if defined(OS_WIN) | 96 #if defined(OS_WIN) |
97 void SendAcceleratedSurfaceCreatedChildWindow( | 97 void SendAcceleratedSurfaceCreatedChildWindow( |
98 gpu::SurfaceHandle parent_window, | 98 gpu::SurfaceHandle parent_window, |
99 gpu::SurfaceHandle child_window) override; | 99 gpu::SurfaceHandle child_window) override; |
100 #endif | 100 #endif |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 // Bindings to the mojom::ProcessControl impl. | 173 // Bindings to the mojom::ProcessControl impl. |
174 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; | 174 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); | 176 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
180 | 180 |
181 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ | 181 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ |
OLD | NEW |