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