Chromium Code Reviews| 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_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 273 uint32_t data_size); | 273 uint32_t data_size); |
| 274 #endif | 274 #endif |
| 275 | 275 |
| 276 void OnAllocateGpuMemoryBuffer(uint32 width, | 276 void OnAllocateGpuMemoryBuffer(uint32 width, |
| 277 uint32 height, | 277 uint32 height, |
| 278 uint32 internalformat, | 278 uint32 internalformat, |
| 279 uint32 usage, | 279 uint32 usage, |
| 280 IPC::Message* reply); | 280 IPC::Message* reply); |
| 281 void GpuMemoryBufferAllocated(IPC::Message* reply, | 281 void GpuMemoryBufferAllocated(IPC::Message* reply, |
| 282 const gfx::GpuMemoryBufferHandle& handle); | 282 const gfx::GpuMemoryBufferHandle& handle); |
| 283 void OnSetHasPendingTransitionRequest(int frame_id, bool is_transition); | |
|
jam
2014/06/18 00:34:25
nit: rendre_frame_id here as well, and in the cc f
| |
| 283 | 284 |
| 284 // Cached resource request dispatcher host and plugin service, guaranteed to | 285 // Cached resource request dispatcher host and plugin service, guaranteed to |
| 285 // be non-null if Init succeeds. We do not own the objects, they are managed | 286 // be non-null if Init succeeds. We do not own the objects, they are managed |
| 286 // by the BrowserProcess, which has a wider scope than we do. | 287 // by the BrowserProcess, which has a wider scope than we do. |
| 287 ResourceDispatcherHostImpl* resource_dispatcher_host_; | 288 ResourceDispatcherHostImpl* resource_dispatcher_host_; |
| 288 PluginServiceImpl* plugin_service_; | 289 PluginServiceImpl* plugin_service_; |
| 289 base::FilePath profile_data_directory_; | 290 base::FilePath profile_data_directory_; |
| 290 | 291 |
| 291 // Contextual information to be used for requests created here. | 292 // Contextual information to be used for requests created here. |
| 292 scoped_refptr<net::URLRequestContextGetter> request_context_; | 293 scoped_refptr<net::URLRequestContextGetter> request_context_; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 324 #if defined(OS_MACOSX) | 325 #if defined(OS_MACOSX) |
| 325 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; | 326 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; |
| 326 #endif | 327 #endif |
| 327 | 328 |
| 328 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 329 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
| 329 }; | 330 }; |
| 330 | 331 |
| 331 } // namespace content | 332 } // namespace content |
| 332 | 333 |
| 333 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 334 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
| OLD | NEW |