| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; | 421 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
| 422 CreateCommandBufferResult CreateViewCommandBuffer( | 422 CreateCommandBufferResult CreateViewCommandBuffer( |
| 423 int32 surface_id, | 423 int32 surface_id, |
| 424 const GPUCreateCommandBufferConfig& init_params, | 424 const GPUCreateCommandBufferConfig& init_params, |
| 425 int32 route_id) override; | 425 int32 route_id) override; |
| 426 | 426 |
| 427 void Init(); | 427 void Init(); |
| 428 | 428 |
| 429 void OnCreateNewFrame(int routing_id, | 429 void OnCreateNewFrame(int routing_id, |
| 430 int parent_routing_id, | 430 int parent_routing_id, |
| 431 int proxy_routing_id); | 431 int proxy_routing_id, |
| 432 const FrameReplicationState& replicated_state); |
| 432 void OnCreateNewFrameProxy(int routing_id, | 433 void OnCreateNewFrameProxy(int routing_id, |
| 433 int parent_routing_id, | 434 int parent_routing_id, |
| 434 int render_view_routing_id, | 435 int render_view_routing_id, |
| 435 const FrameReplicationState& replicated_state); | 436 const FrameReplicationState& replicated_state); |
| 436 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 437 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 437 const std::string& host, | 438 const std::string& host, |
| 438 double zoom_level); | 439 double zoom_level); |
| 439 void OnCreateNewView(const ViewMsg_New_Params& params); | 440 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 440 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 441 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 441 #if defined(ENABLE_PLUGINS) | 442 #if defined(ENABLE_PLUGINS) |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 unsigned use_image_texture_target_; | 596 unsigned use_image_texture_target_; |
| 596 | 597 |
| 597 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 598 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
| 598 | 599 |
| 599 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 600 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 600 }; | 601 }; |
| 601 | 602 |
| 602 } // namespace content | 603 } // namespace content |
| 603 | 604 |
| 604 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 605 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |