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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner() override; | 451 scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner() override; |
452 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; | 452 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
453 CreateCommandBufferResult CreateViewCommandBuffer( | 453 CreateCommandBufferResult CreateViewCommandBuffer( |
454 int32 surface_id, | 454 int32 surface_id, |
455 const GPUCreateCommandBufferConfig& init_params, | 455 const GPUCreateCommandBufferConfig& init_params, |
456 int32 route_id) override; | 456 int32 route_id) override; |
457 | 457 |
458 void Init(); | 458 void Init(); |
459 | 459 |
460 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); | 460 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); |
| 461 void OnDetachFrame(int routing_id); |
461 void OnCreateNewFrameProxy(int routing_id, | 462 void OnCreateNewFrameProxy(int routing_id, |
462 int render_view_routing_id, | 463 int render_view_routing_id, |
463 int opener_routing_id, | 464 int opener_routing_id, |
464 int parent_routing_id, | 465 int parent_routing_id, |
465 const FrameReplicationState& replicated_state); | 466 const FrameReplicationState& replicated_state); |
466 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 467 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
467 const std::string& host, | 468 const std::string& host, |
468 double zoom_level); | 469 double zoom_level); |
469 void OnCreateNewView(const ViewMsg_New_Params& params); | 470 void OnCreateNewView(const ViewMsg_New_Params& params); |
470 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 471 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 675 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
675 }; | 676 }; |
676 | 677 |
677 #if defined(COMPILER_MSVC) | 678 #if defined(COMPILER_MSVC) |
678 #pragma warning(pop) | 679 #pragma warning(pop) |
679 #endif | 680 #endif |
680 | 681 |
681 } // namespace content | 682 } // namespace content |
682 | 683 |
683 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 684 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |