OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module content.mojom; | 5 module content.mojom; |
6 | 6 |
7 import "content/common/native_types.mojom"; | 7 import "content/common/native_types.mojom"; |
8 import "ipc/ipc.mojom"; | 8 import "ipc/ipc.mojom"; |
9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
10 import "ui/gfx/mojo/icc_profile.mojom"; | 10 import "ui/gfx/mojo/icc_profile.mojom"; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // MSG_ROUTING_NONE. | 150 // MSG_ROUTING_NONE. |
151 CreateFrameProxy(int32 routing_id, int32 render_view_routing_id, | 151 CreateFrameProxy(int32 routing_id, int32 render_view_routing_id, |
152 int32 opener_routing_id, int32 parent_routing_id, | 152 int32 opener_routing_id, int32 parent_routing_id, |
153 FrameReplicationState replication_state); | 153 FrameReplicationState replication_state); |
154 | 154 |
155 // Tells the renderer that the network type has changed so that | 155 // Tells the renderer that the network type has changed so that |
156 // navigator.onLine and navigator.connection can be updated. | 156 // navigator.onLine and navigator.connection can be updated. |
157 OnNetworkConnectionChanged(NetworkConnectionType connection_type, | 157 OnNetworkConnectionChanged(NetworkConnectionType connection_type, |
158 double max_bandwidth_mbps); | 158 double max_bandwidth_mbps); |
159 | 159 |
| 160 // Tells the renderer process that the network quality estimate has changed. |
| 161 // The RTT estimates are in milliseconds, while the downstream throughput is |
| 162 // computed in kilobits per second. If an estimate of the HTTP or transport |
| 163 // RTT is unavailable, it will be set to net::nqe::internal::InvalidRTT(). If |
| 164 // the throughput estimate is unavailable, it will be set to |
| 165 // net::nqe::internal::kInvalidThroughput. |
| 166 OnNetworkQualityChanged(double http_rtt_msec, double transport_rtt_msec, doubl
e bandwidth_kbps); |
| 167 |
160 // Tells the renderer to suspend/resume the webkit timers. Only for use on | 168 // Tells the renderer to suspend/resume the webkit timers. Only for use on |
161 // Android. | 169 // Android. |
162 SetWebKitSharedTimersSuspended(bool suspend); | 170 SetWebKitSharedTimersSuspended(bool suspend); |
163 | 171 |
164 // Tells the renderer about a scrollbar appearance change. Only for use on | 172 // Tells the renderer about a scrollbar appearance change. Only for use on |
165 // OS X. | 173 // OS X. |
166 UpdateScrollbarTheme(UpdateScrollbarThemeParams params); | 174 UpdateScrollbarTheme(UpdateScrollbarThemeParams params); |
167 | 175 |
168 // Notification that the OS X Aqua color preferences changed. | 176 // Notification that the OS X Aqua color preferences changed. |
169 OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color, | 177 OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color, |
170 string highlight_color); | 178 string highlight_color); |
171 | 179 |
172 // Tells the renderer to empty its plugin list cache, optional reloading | 180 // Tells the renderer to empty its plugin list cache, optional reloading |
173 // pages containing plugins. | 181 // pages containing plugins. |
174 PurgePluginListCache(bool reload_pages); | 182 PurgePluginListCache(bool reload_pages); |
175 }; | 183 }; |
OLD | NEW |