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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; | 440 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
441 CreateCommandBufferResult CreateViewCommandBuffer( | 441 CreateCommandBufferResult CreateViewCommandBuffer( |
442 int32 surface_id, | 442 int32 surface_id, |
443 const GPUCreateCommandBufferConfig& init_params, | 443 const GPUCreateCommandBufferConfig& init_params, |
444 int32 route_id) override; | 444 int32 route_id) override; |
445 | 445 |
446 void Init(); | 446 void Init(); |
447 | 447 |
448 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); | 448 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); |
449 void OnCreateNewFrameProxy(int routing_id, | 449 void OnCreateNewFrameProxy(int routing_id, |
| 450 int render_view_routing_id, |
| 451 int opener_routing_id, |
450 int parent_routing_id, | 452 int parent_routing_id, |
451 int render_view_routing_id, | |
452 const FrameReplicationState& replicated_state); | 453 const FrameReplicationState& replicated_state); |
453 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 454 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
454 const std::string& host, | 455 const std::string& host, |
455 double zoom_level); | 456 double zoom_level); |
456 void OnCreateNewView(const ViewMsg_New_Params& params); | 457 void OnCreateNewView(const ViewMsg_New_Params& params); |
457 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 458 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
458 #if defined(ENABLE_PLUGINS) | 459 #if defined(ENABLE_PLUGINS) |
459 void OnPurgePluginListCache(bool reload_pages); | 460 void OnPurgePluginListCache(bool reload_pages); |
460 #endif | 461 #endif |
461 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); | 462 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 656 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
656 }; | 657 }; |
657 | 658 |
658 #if defined(COMPILER_MSVC) | 659 #if defined(COMPILER_MSVC) |
659 #pragma warning(pop) | 660 #pragma warning(pop) |
660 #endif | 661 #endif |
661 | 662 |
662 } // namespace content | 663 } // namespace content |
663 | 664 |
664 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 665 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |