| 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 // GpuChannelHostFactory implementation: | 411 // GpuChannelHostFactory implementation: |
| 412 virtual bool IsMainThread() OVERRIDE; | 412 virtual bool IsMainThread() OVERRIDE; |
| 413 virtual base::MessageLoop* GetMainLoop() OVERRIDE; | 413 virtual base::MessageLoop* GetMainLoop() OVERRIDE; |
| 414 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; | 414 virtual scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() OVERRIDE; |
| 415 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( | 415 virtual scoped_ptr<base::SharedMemory> AllocateSharedMemory( |
| 416 size_t size) OVERRIDE; | 416 size_t size) OVERRIDE; |
| 417 virtual bool CreateViewCommandBuffer( | 417 virtual bool CreateViewCommandBuffer( |
| 418 int32 surface_id, | 418 int32 surface_id, |
| 419 const GPUCreateCommandBufferConfig& init_params, | 419 const GPUCreateCommandBufferConfig& init_params, |
| 420 int32 route_id) OVERRIDE; | 420 int32 route_id) OVERRIDE; |
| 421 virtual void CreateImage( | |
| 422 gfx::PluginWindowHandle window, | |
| 423 int32 image_id, | |
| 424 const CreateImageCallback& callback) OVERRIDE; | |
| 425 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | |
| 426 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 421 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
| 427 size_t width, | 422 size_t width, |
| 428 size_t height, | 423 size_t height, |
| 429 unsigned internalformat, | 424 unsigned internalformat, |
| 430 unsigned usage) OVERRIDE; | 425 unsigned usage) OVERRIDE; |
| 431 | 426 |
| 432 void Init(); | 427 void Init(); |
| 433 | 428 |
| 434 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 429 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 435 const std::string& host, | 430 const std::string& host, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 bool is_one_copy_enabled_; | 573 bool is_one_copy_enabled_; |
| 579 | 574 |
| 580 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 575 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
| 581 | 576 |
| 582 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 577 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 583 }; | 578 }; |
| 584 | 579 |
| 585 } // namespace content | 580 } // namespace content |
| 586 | 581 |
| 587 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 582 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |