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