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

Side by Side Diff: content/browser/gpu/gpu_process_host.h

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
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_BROWSER_GPU_GPU_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 12 matching lines...) Expand all
23 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
24 24
25 class GpuMainThread; 25 class GpuMainThread;
26 struct GPUCreateCommandBufferConfig; 26 struct GPUCreateCommandBufferConfig;
27 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; 27 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
28 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; 28 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
29 struct GpuHostMsg_AcceleratedSurfaceRelease_Params; 29 struct GpuHostMsg_AcceleratedSurfaceRelease_Params;
30 30
31 class BrowserChildProcessHostImpl; 31 class BrowserChildProcessHostImpl;
32 32
33 namespace IPC {
34 struct ChannelHandle;
35 }
36
33 class GpuProcessHost : public content::BrowserChildProcessHostDelegate, 37 class GpuProcessHost : public content::BrowserChildProcessHostDelegate,
34 public IPC::Message::Sender, 38 public IPC::Message::Sender,
35 public base::NonThreadSafe { 39 public base::NonThreadSafe {
36 public: 40 public:
37 enum GpuProcessKind { 41 enum GpuProcessKind {
38 GPU_PROCESS_KIND_UNSANDBOXED, 42 GPU_PROCESS_KIND_UNSANDBOXED,
39 GPU_PROCESS_KIND_SANDBOXED, 43 GPU_PROCESS_KIND_SANDBOXED,
40 GPU_PROCESS_KIND_COUNT 44 GPU_PROCESS_KIND_COUNT
41 }; 45 };
42 46
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 static bool gpu_enabled_; 193 static bool gpu_enabled_;
190 194
191 static bool hardware_gpu_enabled_; 195 static bool hardware_gpu_enabled_;
192 196
193 scoped_ptr<BrowserChildProcessHostImpl> process_; 197 scoped_ptr<BrowserChildProcessHostImpl> process_;
194 198
195 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 199 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
196 }; 200 };
197 201
198 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 202 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698