Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: Rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 void CreateView(mojom::CreateViewParamsPtr params) override; 564 void CreateView(mojom::CreateViewParamsPtr params) override;
564 void CreateFrame(mojom::CreateFrameParamsPtr params) override; 565 void CreateFrame(mojom::CreateFrameParamsPtr params) override;
565 void CreateFrameProxy(int32_t routing_id, 566 void CreateFrameProxy(int32_t routing_id,
566 int32_t render_view_routing_id, 567 int32_t render_view_routing_id,
567 int32_t opener_routing_id, 568 int32_t opener_routing_id,
568 int32_t parent_routing_id, 569 int32_t parent_routing_id,
569 const FrameReplicationState& replicated_state) override; 570 const FrameReplicationState& replicated_state) override;
570 void OnNetworkConnectionChanged( 571 void OnNetworkConnectionChanged(
571 net::NetworkChangeNotifier::ConnectionType type, 572 net::NetworkChangeNotifier::ConnectionType type,
572 double max_bandwidth_mbps) override; 573 double max_bandwidth_mbps) override;
573 void OnNetworkQualityChanged(base::TimeDelta http_rtt, 574 void OnNetworkQualityChanged(net::EffectiveConnectionType type,
575 base::TimeDelta http_rtt,
574 base::TimeDelta transport_rtt, 576 base::TimeDelta transport_rtt,
575 double bandwidth_kbps) override; 577 double bandwidth_kbps) override;
576 void SetWebKitSharedTimersSuspended(bool suspend) override; 578 void SetWebKitSharedTimersSuspended(bool suspend) override;
577 void UpdateScrollbarTheme( 579 void UpdateScrollbarTheme(
578 mojom::UpdateScrollbarThemeParamsPtr params) override; 580 mojom::UpdateScrollbarThemeParamsPtr params) override;
579 void OnSystemColorsChanged(int32_t aqua_color_variant, 581 void OnSystemColorsChanged(int32_t aqua_color_variant,
580 const std::string& highlight_text_color, 582 const std::string& highlight_text_color,
581 const std::string& highlight_color) override; 583 const std::string& highlight_color) override;
582 void PurgePluginListCache(bool reload_pages) override; 584 void PurgePluginListCache(bool reload_pages) override;
583 585
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 808 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
807 }; 809 };
808 810
809 #if defined(COMPILER_MSVC) 811 #if defined(COMPILER_MSVC)
810 #pragma warning(pop) 812 #pragma warning(pop)
811 #endif 813 #endif
812 814
813 } // namespace content 815 } // namespace content
814 816
815 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 817 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698