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

Unified Diff: content/common/renderer.mojom

Issue 2400313002: Convert miscellaneous RenderThreadImpl messages to mojom (Closed)
Patch Set: rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/native_types_mac.typemap ('k') | content/common/typemaps_mac.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/renderer.mojom
diff --git a/content/common/renderer.mojom b/content/common/renderer.mojom
index fcefa5a81ec36bffb6dbaac1355a5f009b0e4c2b..6c7fb6abb946757b3f8bc5cdb246c0a774c4e9c0 100644
--- a/content/common/renderer.mojom
+++ b/content/common/renderer.mojom
@@ -122,6 +122,14 @@ struct CreateFrameParams {
CreateFrameWidgetParams widget_params;
};
+struct UpdateScrollbarThemeParams {
+ float initial_button_delay;
+ float autoscroll_button_delay;
+ bool jump_on_track_click;
+ ScrollerStyle preferred_scroller_style;
+ bool redraw;
+ ScrollbarButtonsPlacement button_placement;
+};
// The primordial Channel-associated interface implemented by a render process.
// This should be used for implementing browser-to-renderer control messages
@@ -143,4 +151,25 @@ interface Renderer {
CreateFrameProxy(int32 routing_id, int32 render_view_routing_id,
int32 opener_routing_id, int32 parent_routing_id,
FrameReplicationState replication_state);
+
+ // Tells the renderer that the network type has changed so that
+ // navigator.onLine and navigator.connection can be updated.
+ OnNetworkConnectionChanged(NetworkConnectionType connection_type,
+ double max_bandwidth_mbps);
+
+ // Tells the renderer to suspend/resume the webkit timers. Only for use on
+ // Android.
+ SetWebKitSharedTimersSuspended(bool suspend);
+
+ // Tells the renderer about a scrollbar appearance change. Only for use on
+ // OS X.
+ UpdateScrollbarTheme(UpdateScrollbarThemeParams params);
+
+ // Notification that the OS X Aqua color preferences changed.
+ OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color,
+ string highlight_color);
+
+ // Tells the renderer to empty its plugin list cache, optional reloading
+ // pages containing plugins.
+ PurgePluginListCache(bool reload_pages);
};
« no previous file with comments | « content/common/native_types_mac.typemap ('k') | content/common/typemaps_mac.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698