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

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

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed auto-resize and fullscreen toggle Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.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_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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 110 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
111 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 111 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
112 virtual void OnProcessLaunched() OVERRIDE; 112 virtual void OnProcessLaunched() OVERRIDE;
113 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 113 virtual void OnProcessCrashed(int exit_code) OVERRIDE;
114 114
115 // Message handlers. 115 // Message handlers.
116 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle); 116 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle);
117 void OnCommandBufferCreated(const int32 route_id); 117 void OnCommandBufferCreated(const int32 route_id);
118 void OnDestroyCommandBuffer(int32 surface_id); 118 void OnDestroyCommandBuffer(int32 surface_id);
119 119
120 #if defined(OS_MACOSX)
121 void OnAcceleratedSurfaceBuffersSwapped(
122 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
123 #endif
120 #if defined(OS_WIN) && !defined(USE_AURA) 124 #if defined(OS_WIN) && !defined(USE_AURA)
121 void OnAcceleratedSurfaceBuffersSwapped( 125 void OnAcceleratedSurfaceBuffersSwapped(
122 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 126 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
123 void OnAcceleratedSurfacePostSubBuffer( 127 void OnAcceleratedSurfacePostSubBuffer(
124 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params); 128 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params);
125 void OnAcceleratedSurfaceSuspend(int32 surface_id); 129 void OnAcceleratedSurfaceSuspend(int32 surface_id);
126 void OnAcceleratedSurfaceRelease( 130 void OnAcceleratedSurfaceRelease(
127 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params); 131 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params);
128 #endif 132 #endif
129 133
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 static bool gpu_enabled_; 189 static bool gpu_enabled_;
186 190
187 static bool hardware_gpu_enabled_; 191 static bool hardware_gpu_enabled_;
188 192
189 scoped_ptr<BrowserChildProcessHostImpl> process_; 193 scoped_ptr<BrowserChildProcessHostImpl> process_;
190 194
191 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 195 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
192 }; 196 };
193 197
194 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 198 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698