| 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 17 matching lines...) Expand all Loading... |
| 28 #include "net/base/network_change_notifier.h" | 28 #include "net/base/network_change_notifier.h" |
| 29 #include "third_party/WebKit/public/platform/WebConnectionType.h" | 29 #include "third_party/WebKit/public/platform/WebConnectionType.h" |
| 30 #include "ui/gfx/native_widget_types.h" | 30 #include "ui/gfx/native_widget_types.h" |
| 31 | 31 |
| 32 #if defined(OS_MACOSX) | 32 #if defined(OS_MACOSX) |
| 33 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 33 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 class GrContext; | 36 class GrContext; |
| 37 class SkBitmap; | 37 class SkBitmap; |
| 38 struct FrameMsg_NewFrame_WidgetParams; | 38 struct FrameMsg_NewFrame_Params; |
| 39 struct ViewMsg_New_Params; | 39 struct ViewMsg_New_Params; |
| 40 struct WorkerProcessMsg_CreateWorker_Params; | 40 struct WorkerProcessMsg_CreateWorker_Params; |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 class WebGamepads; | 43 class WebGamepads; |
| 44 class WebGraphicsContext3D; | 44 class WebGraphicsContext3D; |
| 45 class WebMediaStreamCenter; | 45 class WebMediaStreamCenter; |
| 46 class WebMediaStreamCenterClient; | 46 class WebMediaStreamCenterClient; |
| 47 } | 47 } |
| 48 | 48 |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 base::MessageLoop* GetMainLoop() override; | 431 base::MessageLoop* GetMainLoop() override; |
| 432 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override; | 432 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override; |
| 433 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; | 433 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
| 434 CreateCommandBufferResult CreateViewCommandBuffer( | 434 CreateCommandBufferResult CreateViewCommandBuffer( |
| 435 int32 surface_id, | 435 int32 surface_id, |
| 436 const GPUCreateCommandBufferConfig& init_params, | 436 const GPUCreateCommandBufferConfig& init_params, |
| 437 int32 route_id) override; | 437 int32 route_id) override; |
| 438 | 438 |
| 439 void Init(); | 439 void Init(); |
| 440 | 440 |
| 441 void OnCreateNewFrame(int routing_id, | 441 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); |
| 442 int parent_routing_id, | |
| 443 int proxy_routing_id, | |
| 444 const FrameReplicationState& replicated_state, | |
| 445 FrameMsg_NewFrame_WidgetParams params); | |
| 446 void OnCreateNewFrameProxy(int routing_id, | 442 void OnCreateNewFrameProxy(int routing_id, |
| 447 int parent_routing_id, | 443 int parent_routing_id, |
| 448 int render_view_routing_id, | 444 int render_view_routing_id, |
| 449 const FrameReplicationState& replicated_state); | 445 const FrameReplicationState& replicated_state); |
| 450 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 446 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 451 const std::string& host, | 447 const std::string& host, |
| 452 double zoom_level); | 448 double zoom_level); |
| 453 void OnCreateNewView(const ViewMsg_New_Params& params); | 449 void OnCreateNewView(const ViewMsg_New_Params& params); |
| 454 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 450 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 455 #if defined(ENABLE_PLUGINS) | 451 #if defined(ENABLE_PLUGINS) |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 650 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 655 }; | 651 }; |
| 656 | 652 |
| 657 #if defined(COMPILER_MSVC) | 653 #if defined(COMPILER_MSVC) |
| 658 #pragma warning(pop) | 654 #pragma warning(pop) |
| 659 #endif | 655 #endif |
| 660 | 656 |
| 661 } // namespace content | 657 } // namespace content |
| 662 | 658 |
| 663 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 659 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |