| 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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( | 357 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( |
| 358 size_t size) OVERRIDE; | 358 size_t size) OVERRIDE; |
| 359 virtual int32 CreateViewCommandBuffer( | 359 virtual int32 CreateViewCommandBuffer( |
| 360 int32 surface_id, | 360 int32 surface_id, |
| 361 const GPUCreateCommandBufferConfig& init_params) OVERRIDE; | 361 const GPUCreateCommandBufferConfig& init_params) OVERRIDE; |
| 362 virtual void CreateImage( | 362 virtual void CreateImage( |
| 363 gfx::PluginWindowHandle window, | 363 gfx::PluginWindowHandle window, |
| 364 int32 image_id, | 364 int32 image_id, |
| 365 const CreateImageCallback& callback) OVERRIDE; | 365 const CreateImageCallback& callback) OVERRIDE; |
| 366 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | 366 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; |
| 367 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
| 368 size_t width, |
| 369 size_t height, |
| 370 unsigned internalformat) OVERRIDE; |
| 367 | 371 |
| 368 void Init(); | 372 void Init(); |
| 369 | 373 |
| 370 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 374 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 371 const std::string& host, | 375 const std::string& host, |
| 372 double zoom_level); | 376 double zoom_level); |
| 373 void OnCreateNewView(const ViewMsg_New_Params& params); | 377 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 374 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 378 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 375 void OnPurgePluginListCache(bool reload_pages); | 379 void OnPurgePluginListCache(bool reload_pages); |
| 376 void OnNetworkStateChanged(bool online); | 380 void OnNetworkStateChanged(bool online); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 494 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 491 | 495 |
| 492 base::ProcessId renderer_process_id_; | 496 base::ProcessId renderer_process_id_; |
| 493 | 497 |
| 494 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 498 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 495 }; | 499 }; |
| 496 | 500 |
| 497 } // namespace content | 501 } // namespace content |
| 498 | 502 |
| 499 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 503 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |