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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // properties of the HTMLFrameOwnerElement from the parent process. 115 // properties of the HTMLFrameOwnerElement from the parent process.
116 // Note that unlike FrameReplicationState, this is not replicated for remote 116 // Note that unlike FrameReplicationState, this is not replicated for remote
117 // frames. 117 // frames.
118 FrameOwnerProperties frame_owner_properties; 118 FrameOwnerProperties frame_owner_properties;
119 119
120 // Specifies properties for a new RenderWidget that will be attached to the 120 // Specifies properties for a new RenderWidget that will be attached to the
121 // new RenderFrame (if one is needed). 121 // new RenderFrame (if one is needed).
122 CreateFrameWidgetParams widget_params; 122 CreateFrameWidgetParams widget_params;
123 }; 123 };
124 124
125 struct UpdateScrollbarThemeParams {
126 float initial_button_delay;
127 float autoscroll_button_delay;
128 bool jump_on_track_click;
129 ScrollerStyle preferred_scroller_style;
130 bool redraw;
131 ScrollbarButtonsPlacement button_placement;
132 };
125 133
126 // The primordial Channel-associated interface implemented by a render process. 134 // The primordial Channel-associated interface implemented by a render process.
127 // This should be used for implementing browser-to-renderer control messages 135 // This should be used for implementing browser-to-renderer control messages
128 // which need to retain FIFO with respect to legacy IPC messages. 136 // which need to retain FIFO with respect to legacy IPC messages.
129 interface Renderer { 137 interface Renderer {
130 // Tells the renderer to create a new view. 138 // Tells the renderer to create a new view.
131 CreateView(CreateViewParams params); 139 CreateView(CreateViewParams params);
132 140
133 // Tells the renderer to create a new RenderFrame. 141 // Tells the renderer to create a new RenderFrame.
134 CreateFrame(CreateFrameParams params); 142 CreateFrame(CreateFrameParams params);
135 143
136 // Tells the renderer to create a new RenderFrameProxy object with 144 // Tells the renderer to create a new RenderFrameProxy object with
137 // |routing_id|. |render_view_routing_id| identifies the 145 // |routing_id|. |render_view_routing_id| identifies the
138 // RenderView to be associated with this proxy. The new proxy's opener should 146 // RenderView to be associated with this proxy. The new proxy's opener should
139 // be set to the object identified by |opener_routing_id|, or to null if that 147 // be set to the object identified by |opener_routing_id|, or to null if that
140 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the 148 // is MSG_ROUTING_NONE. The new proxy should be created as a child of the
141 // object identified by |parent_routing_id| or as top level if that is 149 // object identified by |parent_routing_id| or as top level if that is
142 // MSG_ROUTING_NONE. 150 // MSG_ROUTING_NONE.
143 CreateFrameProxy(int32 routing_id, int32 render_view_routing_id, 151 CreateFrameProxy(int32 routing_id, int32 render_view_routing_id,
144 int32 opener_routing_id, int32 parent_routing_id, 152 int32 opener_routing_id, int32 parent_routing_id,
145 FrameReplicationState replication_state); 153 FrameReplicationState replication_state);
154
155 // Tells the renderer that the network type has changed so that
156 // navigator.onLine and navigator.connection can be updated.
157 OnNetworkConnectionChanged(NetworkConnectionType connection_type,
158 double max_bandwidth_mbps);
159
160 // Tells the renderer to suspend/resume the webkit timers. Only for use on
161 // Android.
162 SetWebKitSharedTimersSuspended(bool suspend);
163
164 // Tells the renderer about a scrollbar appearance change. Only for use on
165 // OS X.
166 UpdateScrollbarTheme(UpdateScrollbarThemeParams params);
167
168 // Notification that the OS X Aqua color preferences changed.
169 OnSystemColorsChanged(int32 aqua_color_variant, string highlight_text_color,
170 string highlight_color);
171
172 // Tells the renderer to empty its plugin list cache, optional reloading
173 // pages containing plugins.
174 PurgePluginListCache(bool reload_pages);
146 }; 175 };
OLDNEW
« 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