gecko-dev/dom/ipc
Kartikaya Gupta 1bfa62105b Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.

The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.

MozReview-Commit-ID: AtdYOuXmHu4

--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
..
tests Bug 1344174 -Add measure for memory distribution among child processes. r=chutten 2017-04-07 12:14:45 +02:00
CoalescedWheelData.cpp Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
CoalescedWheelData.h Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
ColorPickerParent.cpp
ColorPickerParent.h
ContentBridgeChild.cpp Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
ContentBridgeChild.h Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
ContentBridgeParent.cpp Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
ContentBridgeParent.h Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
ContentChild.cpp Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
ContentChild.h Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
ContentParent.cpp Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
ContentParent.h Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
ContentPrefs.cpp Bug 1352055 - Remove reference to a legacy preference name for sandboxing. r=jimm 2017-03-30 09:50:57 -04:00
ContentPrefs.h Bug 1341890 - Fix line endings for ContentPrefs.h. r=billm 2017-02-24 10:23:53 -08:00
ContentProcess.cpp Backed out changeset 4f7947062b4f (bug 1337062) for assertion failures in gfxVars.cpp 2017-04-06 20:11:19 -07:00
ContentProcess.h bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
ContentProcessManager.cpp Bug 1333799: MinTabSelector for process selection. r=mrbkap 2017-03-07 20:00:28 +01:00
ContentProcessManager.h Bug 1333799: MinTabSelector for process selection. r=mrbkap 2017-03-07 20:00:28 +01:00
CPOWManagerGetter.h
DOMTypes.ipdlh Bug 1350386 - Make nsInputStream structuredCloneable, r=mystor 2017-04-05 19:02:57 +02:00
FilePickerParent.cpp Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan 2017-03-16 08:53:49 +01:00
FilePickerParent.h
IdType.h
jar.mn Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
manifestMessages.js Bug 1351008 - Lazily load Manifest jsms in manifestMessages.js. r=baku 2017-03-27 11:48:18 -07:00
MemoryReportRequest.cpp Add GPU process support to nsMemoryReportingManager. (bug 1321492 part 7, r=erahm) 2017-01-26 16:35:55 -08:00
MemoryReportRequest.h Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm) 2017-01-26 16:35:54 -08:00
MemoryReportTypes.ipdlh Move MaybeFileDesc out of PContent and into an IPDL header. (bug 1321492 part 5, r=erahm) 2017-01-26 16:35:54 -08:00
moz.build Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
nsIContentChild.cpp Bug 1348426 - Add profiler labels to RecvSync/Async/RpcMessage that include the message name. r=billm 2017-03-29 17:43:21 -04:00
nsIContentChild.h Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
nsIContentParent.cpp Bug 1348426 - Add profiler labels to RecvSync/Async/RpcMessage that include the message name. r=billm 2017-03-29 17:43:21 -04:00
nsIContentParent.h Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
nsIHangReport.idl
PBrowser.ipdl Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
PContentBridge.ipdl Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PDocumentRenderer.ipdl
PermissionMessageUtils.cpp Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
PermissionMessageUtils.h
PFilePicker.ipdl
PPluginWidget.ipdl Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout 2017-02-14 14:31:54 -08:00
PProcessHangMonitor.ipdl Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm 2017-02-28 17:22:02 -05:00
PreallocatedProcessManager.cpp Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
PreallocatedProcessManager.h Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
ProcessHangMonitor.cpp Bug 1343639 - Use the HangMonitorParent TaskFactory instead of runnables for dispatching the hang notification to the main thread. r=billm 2017-03-06 15:55:36 -05:00
ProcessHangMonitor.h Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm 2017-01-05 12:54:52 -08:00
ProcessHangMonitorIPC.h Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm 2017-01-05 12:54:52 -08:00
ProcessPriorityManager.cpp Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan 2016-12-20 16:32:12 -08:00
ProcessPriorityManager.h
PTabContext.ipdlh Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
PURLClassifier.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PURLClassifierInfo.ipdlh Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PURLClassifierLocal.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
remote-test.js
ServiceWorkerConfiguration.ipdlh
StructuredCloneData.cpp Bug 1350386 - Make nsInputStream structuredCloneable, r=mystor 2017-04-05 19:02:57 +02:00
StructuredCloneData.h Bug 1350386 - Make nsInputStream structuredCloneable, r=mystor 2017-04-05 19:02:57 +02:00
TabChild.cpp Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
TabChild.h Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
TabContext.cpp Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
TabContext.h Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
TabMessageUtils.cpp
TabMessageUtils.h
TabParent.cpp Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
TabParent.h Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander 2017-04-09 17:30:27 -04:00
TelemetryScrollProbe.cpp Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
TelemetryScrollProbe.h Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
test.xul
URLClassifierChild.h Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
URLClassifierParent.cpp Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
URLClassifierParent.h Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00