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

Side by Side Diff: chrome/browser/renderer_host/render_widget_helper.h

Issue 661237: This adds in the ability for Chrome to generate windows with snapshots of all... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "app/surface/transport_dib.h" 10 #include "app/surface/transport_dib.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Called on destruction to release all allocated transport DIBs 181 // Called on destruction to release all allocated transport DIBs
182 void ClearAllocatedDIBs(); 182 void ClearAllocatedDIBs();
183 183
184 // On OSX we keep file descriptors to all the allocated DIBs around until 184 // On OSX we keep file descriptors to all the allocated DIBs around until
185 // the renderer frees them. 185 // the renderer frees them.
186 Lock allocated_dibs_lock_; 186 Lock allocated_dibs_lock_;
187 std::map<TransportDIB::Id, int> allocated_dibs_; 187 std::map<TransportDIB::Id, int> allocated_dibs_;
188 #endif 188 #endif
189 189
190 // A map of live paint messages. Must hold pending_paints_lock_ to access. 190 // A map of live paint messages. Must hold pending_paints_lock_ to access.
191 // The PaintMsgProxy objects are not owned by this map. (See PaintMsgProxy 191 // The UpdateMsgProxy objects are not owned by this map. (See UpdateMsgProxy
192 // for details about how the lifetime of instances are managed.) 192 // for details about how the lifetime of instances are managed.)
193 UpdateMsgProxyMap pending_paints_; 193 UpdateMsgProxyMap pending_paints_;
194 Lock pending_paints_lock_; 194 Lock pending_paints_lock_;
195 195
196 int render_process_id_; 196 int render_process_id_;
197 197
198 // Event used to implement WaitForUpdateMsg. 198 // Event used to implement WaitForUpdateMsg.
199 base::WaitableEvent event_; 199 base::WaitableEvent event_;
200 200
201 // The next routing id to use. 201 // The next routing id to use.
202 base::AtomicSequenceNumber next_routing_id_; 202 base::AtomicSequenceNumber next_routing_id_;
203 203
204 ResourceDispatcherHost* resource_dispatcher_host_; 204 ResourceDispatcherHost* resource_dispatcher_host_;
205 205
206 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper); 206 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHelper);
207 }; 207 };
208 208
209 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_ 209 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/backing_store_x.cc ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698