Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 1830193002: Move buffer_presented_params_mac to content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_common.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 25 matching lines...) Expand all
36 namespace sandbox { 36 namespace sandbox {
37 class TargetServices; 37 class TargetServices;
38 } 38 }
39 39
40 namespace content { 40 namespace content {
41 class GpuMemoryBufferFactory; 41 class GpuMemoryBufferFactory;
42 class GpuProcessControlImpl; 42 class GpuProcessControlImpl;
43 class GpuWatchdogThread; 43 class GpuWatchdogThread;
44 class MediaService; 44 class MediaService;
45 struct EstablishChannelParams; 45 struct EstablishChannelParams;
46 #if defined(OS_MACOSX)
47 struct BufferPresentedParams;
48 #endif
46 49
47 // The main thread of the GPU child process. There will only ever be one of 50 // The main thread of the GPU child process. There will only ever be one of
48 // these per process. It does process initialization and shutdown. It forwards 51 // these per process. It does process initialization and shutdown. It forwards
49 // IPC messages to GpuChannelManager, which is responsible for issuing rendering 52 // IPC messages to GpuChannelManager, which is responsible for issuing rendering
50 // commands to the GPU. 53 // commands to the GPU.
51 class GpuChildThread : public ChildThreadImpl, 54 class GpuChildThread : public ChildThreadImpl,
52 public GpuChannelManagerDelegate { 55 public GpuChannelManagerDelegate {
53 public: 56 public:
54 typedef std::queue<IPC::Message*> DeferredMessages; 57 typedef std::queue<IPC::Message*> DeferredMessages;
55 58
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 180
178 // Bindings to the mojom::ProcessControl impl. 181 // Bindings to the mojom::ProcessControl impl.
179 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; 182 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_;
180 183
181 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 184 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
182 }; 185 };
183 186
184 } // namespace content 187 } // namespace content
185 188
186 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 189 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698