| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "content/common/storage_partition_service.mojom.h" | 40 #include "content/common/storage_partition_service.mojom.h" |
| 41 #include "content/public/renderer/render_thread.h" | 41 #include "content/public/renderer/render_thread.h" |
| 42 #include "content/renderer/gpu/compositor_dependencies.h" | 42 #include "content/renderer/gpu/compositor_dependencies.h" |
| 43 #include "content/renderer/layout_test_dependencies.h" | 43 #include "content/renderer/layout_test_dependencies.h" |
| 44 #include "gpu/ipc/client/gpu_channel_host.h" | 44 #include "gpu/ipc/client/gpu_channel_host.h" |
| 45 #include "media/media_features.h" | 45 #include "media/media_features.h" |
| 46 #include "mojo/public/cpp/bindings/associated_binding.h" | 46 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 47 #include "mojo/public/cpp/bindings/binding.h" | 47 #include "mojo/public/cpp/bindings/binding.h" |
| 48 #include "mojo/public/cpp/bindings/thread_safe_interface_ptr.h" | 48 #include "mojo/public/cpp/bindings/thread_safe_interface_ptr.h" |
| 49 #include "net/base/network_change_notifier.h" | 49 #include "net/base/network_change_notifier.h" |
| 50 #include "net/nqe/effective_connection_type.h" |
| 50 #include "third_party/WebKit/public/platform/WebConnectionType.h" | 51 #include "third_party/WebKit/public/platform/WebConnectionType.h" |
| 51 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 52 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
| 52 #include "third_party/WebKit/public/web/WebMemoryStatistics.h" | 53 #include "third_party/WebKit/public/web/WebMemoryStatistics.h" |
| 53 #include "ui/gfx/native_widget_types.h" | 54 #include "ui/gfx/native_widget_types.h" |
| 54 | 55 |
| 55 #if defined(OS_MACOSX) | 56 #if defined(OS_MACOSX) |
| 56 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 57 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 57 #endif | 58 #endif |
| 58 | 59 |
| 59 class SkBitmap; | 60 class SkBitmap; |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 void CreateView(mojom::CreateViewParamsPtr params) override; | 560 void CreateView(mojom::CreateViewParamsPtr params) override; |
| 560 void CreateFrame(mojom::CreateFrameParamsPtr params) override; | 561 void CreateFrame(mojom::CreateFrameParamsPtr params) override; |
| 561 void CreateFrameProxy(int32_t routing_id, | 562 void CreateFrameProxy(int32_t routing_id, |
| 562 int32_t render_view_routing_id, | 563 int32_t render_view_routing_id, |
| 563 int32_t opener_routing_id, | 564 int32_t opener_routing_id, |
| 564 int32_t parent_routing_id, | 565 int32_t parent_routing_id, |
| 565 const FrameReplicationState& replicated_state) override; | 566 const FrameReplicationState& replicated_state) override; |
| 566 void OnNetworkConnectionChanged( | 567 void OnNetworkConnectionChanged( |
| 567 net::NetworkChangeNotifier::ConnectionType type, | 568 net::NetworkChangeNotifier::ConnectionType type, |
| 568 double max_bandwidth_mbps) override; | 569 double max_bandwidth_mbps) override; |
| 569 void OnNetworkQualityChanged(base::TimeDelta http_rtt, | 570 void OnNetworkQualityChanged(net::EffectiveConnectionType type, |
| 571 base::TimeDelta http_rtt, |
| 570 base::TimeDelta transport_rtt, | 572 base::TimeDelta transport_rtt, |
| 571 double bandwidth_kbps) override; | 573 double bandwidth_kbps) override; |
| 572 void SetWebKitSharedTimersSuspended(bool suspend) override; | 574 void SetWebKitSharedTimersSuspended(bool suspend) override; |
| 573 void UpdateScrollbarTheme( | 575 void UpdateScrollbarTheme( |
| 574 mojom::UpdateScrollbarThemeParamsPtr params) override; | 576 mojom::UpdateScrollbarThemeParamsPtr params) override; |
| 575 void OnSystemColorsChanged(int32_t aqua_color_variant, | 577 void OnSystemColorsChanged(int32_t aqua_color_variant, |
| 576 const std::string& highlight_text_color, | 578 const std::string& highlight_text_color, |
| 577 const std::string& highlight_color) override; | 579 const std::string& highlight_color) override; |
| 578 void PurgePluginListCache(bool reload_pages) override; | 580 void PurgePluginListCache(bool reload_pages) override; |
| 579 | 581 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 804 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 803 }; | 805 }; |
| 804 | 806 |
| 805 #if defined(COMPILER_MSVC) | 807 #if defined(COMPILER_MSVC) |
| 806 #pragma warning(pop) | 808 #pragma warning(pop) |
| 807 #endif | 809 #endif |
| 808 | 810 |
| 809 } // namespace content | 811 } // namespace content |
| 810 | 812 |
| 811 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 813 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |