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