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