| 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 16 matching lines...) Expand all Loading... |
| 27 #include "net/base/network_change_notifier.h" | 27 #include "net/base/network_change_notifier.h" |
| 28 #include "third_party/WebKit/public/platform/WebConnectionType.h" | 28 #include "third_party/WebKit/public/platform/WebConnectionType.h" |
| 29 #include "ui/gfx/native_widget_types.h" | 29 #include "ui/gfx/native_widget_types.h" |
| 30 | 30 |
| 31 #if defined(OS_MACOSX) | 31 #if defined(OS_MACOSX) |
| 32 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 32 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 class GrContext; | 35 class GrContext; |
| 36 class SkBitmap; | 36 class SkBitmap; |
| 37 struct FrameMsg_NewFrame_WidgetParams; | |
| 38 struct ViewMsg_New_Params; | 37 struct ViewMsg_New_Params; |
| 39 struct WorkerProcessMsg_CreateWorker_Params; | 38 struct WorkerProcessMsg_CreateWorker_Params; |
| 40 | 39 |
| 41 namespace blink { | 40 namespace blink { |
| 42 class WebGamepads; | 41 class WebGamepads; |
| 43 class WebGraphicsContext3D; | 42 class WebGraphicsContext3D; |
| 44 class WebMediaStreamCenter; | 43 class WebMediaStreamCenter; |
| 45 class WebMediaStreamCenterClient; | 44 class WebMediaStreamCenterClient; |
| 46 } | 45 } |
| 47 | 46 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 CreateCommandBufferResult CreateViewCommandBuffer( | 422 CreateCommandBufferResult CreateViewCommandBuffer( |
| 424 int32 surface_id, | 423 int32 surface_id, |
| 425 const GPUCreateCommandBufferConfig& init_params, | 424 const GPUCreateCommandBufferConfig& init_params, |
| 426 int32 route_id) override; | 425 int32 route_id) override; |
| 427 | 426 |
| 428 void Init(); | 427 void Init(); |
| 429 | 428 |
| 430 void OnCreateNewFrame(int routing_id, | 429 void OnCreateNewFrame(int routing_id, |
| 431 int parent_routing_id, | 430 int parent_routing_id, |
| 432 int proxy_routing_id, | 431 int proxy_routing_id, |
| 433 const FrameReplicationState& replicated_state, | 432 const FrameReplicationState& replicated_state); |
| 434 FrameMsg_NewFrame_WidgetParams params); | |
| 435 void OnCreateNewFrameProxy(int routing_id, | 433 void OnCreateNewFrameProxy(int routing_id, |
| 436 int parent_routing_id, | 434 int parent_routing_id, |
| 437 int render_view_routing_id, | 435 int render_view_routing_id, |
| 438 const FrameReplicationState& replicated_state); | 436 const FrameReplicationState& replicated_state); |
| 439 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 437 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 440 const std::string& host, | 438 const std::string& host, |
| 441 double zoom_level); | 439 double zoom_level); |
| 442 void OnCreateNewView(const ViewMsg_New_Params& params); | 440 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 443 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 441 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 444 #if defined(ENABLE_PLUGINS) | 442 #if defined(ENABLE_PLUGINS) |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 unsigned use_image_texture_target_; | 596 unsigned use_image_texture_target_; |
| 599 | 597 |
| 600 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 598 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
| 601 | 599 |
| 602 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 600 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 603 }; | 601 }; |
| 604 | 602 |
| 605 } // namespace content | 603 } // namespace content |
| 606 | 604 |
| 607 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 605 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |