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 const GPUCreateCommandBufferConfig& init_params, | 421 const GPUCreateCommandBufferConfig& init_params, |
422 int32 route_id) OVERRIDE; | 422 int32 route_id) OVERRIDE; |
423 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 423 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
424 size_t width, | 424 size_t width, |
425 size_t height, | 425 size_t height, |
426 unsigned internalformat, | 426 unsigned internalformat, |
427 unsigned usage) OVERRIDE; | 427 unsigned usage) OVERRIDE; |
428 | 428 |
429 void Init(); | 429 void Init(); |
430 | 430 |
| 431 void OnCreateNewFrame(int routing_id, int parent_routing_id); |
| 432 void OnCreateNewFrameProxy(int routing_id, |
| 433 int parent_routing_id, |
| 434 int render_view_routing_id); |
431 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 435 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
432 const std::string& host, | 436 const std::string& host, |
433 double zoom_level); | 437 double zoom_level); |
434 void OnCreateNewView(const ViewMsg_New_Params& params); | 438 void OnCreateNewView(const ViewMsg_New_Params& params); |
435 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 439 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
436 void OnPurgePluginListCache(bool reload_pages); | 440 void OnPurgePluginListCache(bool reload_pages); |
437 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); | 441 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); |
438 void OnGetAccessibilityTree(); | 442 void OnGetAccessibilityTree(); |
439 void OnTempCrashWithData(const GURL& data); | 443 void OnTempCrashWithData(const GURL& data); |
440 void OnUpdateTimezone(); | 444 void OnUpdateTimezone(); |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 bool is_one_copy_enabled_; | 581 bool is_one_copy_enabled_; |
578 | 582 |
579 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 583 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
580 | 584 |
581 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 585 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
582 }; | 586 }; |
583 | 587 |
584 } // namespace content | 588 } // namespace content |
585 | 589 |
586 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 590 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |