mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
This commit is contained in:
parent
977198427c
commit
8916b1d998
@ -48,28 +48,28 @@ prio(normal upto high) sync protocol PDocAccessible
|
|||||||
manager PBrowser;
|
manager PBrowser;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Shutdown();
|
async Shutdown();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notify the parent process the document in the child process is firing an
|
* Notify the parent process the document in the child process is firing an
|
||||||
* event.
|
* event.
|
||||||
*/
|
*/
|
||||||
Event(uint64_t aID, uint32_t type);
|
async Event(uint64_t aID, uint32_t type);
|
||||||
ShowEvent(ShowEventData data);
|
async ShowEvent(ShowEventData data);
|
||||||
HideEvent(uint64_t aRootID);
|
async HideEvent(uint64_t aRootID);
|
||||||
StateChangeEvent(uint64_t aID, uint64_t aState, bool aEnabled);
|
async StateChangeEvent(uint64_t aID, uint64_t aState, bool aEnabled);
|
||||||
CaretMoveEvent(uint64_t aID, int32_t aOffset);
|
async CaretMoveEvent(uint64_t aID, int32_t aOffset);
|
||||||
TextChangeEvent(uint64_t aID, nsString aStr, int32_t aStart, uint32_t aLen,
|
async TextChangeEvent(uint64_t aID, nsString aStr, int32_t aStart, uint32_t aLen,
|
||||||
bool aIsInsert, bool aFromUser);
|
bool aIsInsert, bool aFromUser);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tell the parent document to bind the existing document as a new child
|
* Tell the parent document to bind the existing document as a new child
|
||||||
* document.
|
* document.
|
||||||
*/
|
*/
|
||||||
BindChildDoc(PDocAccessible aChildDoc, uint64_t aID);
|
async BindChildDoc(PDocAccessible aChildDoc, uint64_t aID);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
// Accessible
|
// Accessible
|
||||||
prio(high) sync State(uint64_t aID) returns(uint64_t states);
|
prio(high) sync State(uint64_t aID) returns(uint64_t states);
|
||||||
@ -132,13 +132,13 @@ child:
|
|||||||
prio(high) sync RemoveFromSelection(uint64_t aID, int32_t aSelectionNum)
|
prio(high) sync RemoveFromSelection(uint64_t aID, int32_t aSelectionNum)
|
||||||
returns(bool aSucceeded);
|
returns(bool aSucceeded);
|
||||||
|
|
||||||
ScrollSubstringTo(uint64_t aID, int32_t aStartOffset, int32_t aEndOffset,
|
async ScrollSubstringTo(uint64_t aID, int32_t aStartOffset, int32_t aEndOffset,
|
||||||
uint32_t aScrollType);
|
uint32_t aScrollType);
|
||||||
ScrollSubstringToPoint(uint64_t aID,
|
async ScrollSubstringToPoint(uint64_t aID,
|
||||||
int32_t aStartOffset,
|
int32_t aStartOffset,
|
||||||
int32_t aEndOffset,
|
int32_t aEndOffset,
|
||||||
uint32_t aCoordinateType,
|
uint32_t aCoordinateType,
|
||||||
int32_t aX, int32_t aY);
|
int32_t aX, int32_t aY);
|
||||||
|
|
||||||
prio(high) sync Text(uint64_t aID) returns(nsString aText);
|
prio(high) sync Text(uint64_t aID) returns(nsString aText);
|
||||||
prio(high) sync ReplaceText(uint64_t aID, nsString aText);
|
prio(high) sync ReplaceText(uint64_t aID, nsString aText);
|
||||||
|
@ -28,7 +28,7 @@ sync protocol PHeapSnapshotTempFileHelper
|
|||||||
parent:
|
parent:
|
||||||
sync OpenHeapSnapshotTempFile() returns (OpenHeapSnapshotTempFileResponse response);
|
sync OpenHeapSnapshotTempFile() returns (OpenHeapSnapshotTempFileResponse response);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace devtools
|
} // namespace devtools
|
||||||
|
@ -19,18 +19,18 @@ protocol PAsmJSCacheEntry
|
|||||||
// origin's Metadata so the child process can select the cache entry to open
|
// origin's Metadata so the child process can select the cache entry to open
|
||||||
// (based on hash) and notify the parent (via SelectCacheFileToRead).
|
// (based on hash) and notify the parent (via SelectCacheFileToRead).
|
||||||
child:
|
child:
|
||||||
OnOpenMetadataForRead(Metadata metadata);
|
async OnOpenMetadataForRead(Metadata metadata);
|
||||||
parent:
|
parent:
|
||||||
SelectCacheFileToRead(uint32_t moduleIndex);
|
async SelectCacheFileToRead(uint32_t moduleIndex);
|
||||||
CacheMiss();
|
async CacheMiss();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
// Once the cache file has been opened, the child is notified and sent an
|
// Once the cache file has been opened, the child is notified and sent an
|
||||||
// open file descriptor.
|
// open file descriptor.
|
||||||
OnOpenCacheFile(int64_t fileSize, FileDescriptor fileDesc);
|
async OnOpenCacheFile(int64_t fileSize, FileDescriptor fileDesc);
|
||||||
|
|
||||||
both:
|
both:
|
||||||
__delete__(AsmJSCacheResult result);
|
async __delete__(AsmJSCacheResult result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace asmjscache
|
} // namespace asmjscache
|
||||||
|
@ -545,53 +545,53 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Sent when a settings change has enabled or disabled the bluetooth firmware.
|
* Sent when a settings change has enabled or disabled the bluetooth firmware.
|
||||||
*/
|
*/
|
||||||
Enabled(bool enabled);
|
async Enabled(bool enabled);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when a bluetooth signal is broadcasted to child processes.
|
* Sent when a bluetooth signal is broadcasted to child processes.
|
||||||
*/
|
*/
|
||||||
Notify(BluetoothSignal signal);
|
async Notify(BluetoothSignal signal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the parent process is about to be shut down. See shutdown note
|
* Sent when the parent process is about to be shut down. See shutdown note
|
||||||
* above.
|
* above.
|
||||||
*/
|
*/
|
||||||
BeginShutdown();
|
async BeginShutdown();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent to inform the child process that it will no longer receive any
|
* Sent to inform the child process that it will no longer receive any
|
||||||
* messages from the parent. See shutdown note above.
|
* messages from the parent. See shutdown note above.
|
||||||
*/
|
*/
|
||||||
NotificationsStopped();
|
async NotificationsStopped();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to use bluetooth. See shutdown note
|
* Sent when the child no longer needs to use bluetooth. See shutdown note
|
||||||
* above.
|
* above.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child needs to receive signals related to the given node.
|
* Sent when the child needs to receive signals related to the given node.
|
||||||
*/
|
*/
|
||||||
RegisterSignalHandler(nsString node);
|
async RegisterSignalHandler(nsString node);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to receive signals related to the given
|
* Sent when the child no longer needs to receive signals related to the given
|
||||||
* node.
|
* node.
|
||||||
*/
|
*/
|
||||||
UnregisterSignalHandler(nsString node);
|
async UnregisterSignalHandler(nsString node);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to receive any messages from the
|
* Sent when the child no longer needs to receive any messages from the
|
||||||
* parent. See shutdown note above.
|
* parent. See shutdown note above.
|
||||||
*/
|
*/
|
||||||
StopNotifying();
|
async StopNotifying();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous request to the parent.
|
* Sent when the child makes an asynchronous request to the parent.
|
||||||
*/
|
*/
|
||||||
PBluetoothRequest(Request request);
|
async PBluetoothRequest(Request request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FIXME: Bug 547703.
|
* FIXME: Bug 547703.
|
||||||
|
@ -20,7 +20,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Sent when the asynchronous request has completed.
|
* Sent when the asynchronous request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(BluetoothReply response);
|
async __delete__(BluetoothReply response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace bluetooth
|
} // namespace bluetooth
|
||||||
|
@ -17,12 +17,12 @@ protocol PBroadcastChannel
|
|||||||
manager PBackground;
|
manager PBackground;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PostMessage(ClonedMessageData message);
|
async PostMessage(ClonedMessageData message);
|
||||||
Close();
|
async Close();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Notify(ClonedMessageData message);
|
async Notify(ClonedMessageData message);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
8
dom/cache/PCache.ipdl
vendored
8
dom/cache/PCache.ipdl
vendored
@ -22,12 +22,12 @@ protocol PCache
|
|||||||
manages PCachePushStream;
|
manages PCachePushStream;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PCacheOp(CacheOpArgs aOpArgs);
|
async PCacheOp(CacheOpArgs aOpArgs);
|
||||||
PCachePushStream();
|
async PCachePushStream();
|
||||||
Teardown();
|
async Teardown();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cache
|
} // namespace cache
|
||||||
|
2
dom/cache/PCacheOp.ipdl
vendored
2
dom/cache/PCacheOp.ipdl
vendored
@ -21,7 +21,7 @@ protocol PCacheOp
|
|||||||
manager PCache or PCacheStorage;
|
manager PCache or PCacheStorage;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(ErrorResult aRv, CacheOpResult aResult);
|
async __delete__(ErrorResult aRv, CacheOpResult aResult);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cache
|
} // namespace cache
|
||||||
|
6
dom/cache/PCachePushStream.ipdl
vendored
6
dom/cache/PCachePushStream.ipdl
vendored
@ -13,14 +13,14 @@ protocol PCachePushStream
|
|||||||
manager PCache;
|
manager PCache;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Buffer(nsCString aBuffer);
|
async Buffer(nsCString aBuffer);
|
||||||
Close(nsresult aRv);
|
async Close(nsresult aRv);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
// Stream is always destroyed from the parent side. This occurs if the
|
// Stream is always destroyed from the parent side. This occurs if the
|
||||||
// parent encounters an error while writing to its pipe or if the child
|
// parent encounters an error while writing to its pipe or if the child
|
||||||
// signals the stream should close by SendClose().
|
// signals the stream should close by SendClose().
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cache
|
} // namespace cache
|
||||||
|
6
dom/cache/PCacheStorage.ipdl
vendored
6
dom/cache/PCacheStorage.ipdl
vendored
@ -22,11 +22,11 @@ protocol PCacheStorage
|
|||||||
manages PCacheOp;
|
manages PCacheOp;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PCacheOp(CacheOpArgs aOpArgs);
|
async PCacheOp(CacheOpArgs aOpArgs);
|
||||||
Teardown();
|
async Teardown();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cache
|
} // namespace cache
|
||||||
|
8
dom/cache/PCacheStreamControl.ipdl
vendored
8
dom/cache/PCacheStreamControl.ipdl
vendored
@ -15,12 +15,12 @@ protocol PCacheStreamControl
|
|||||||
manager PBackground;
|
manager PBackground;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
NoteClosed(nsID aStreamId);
|
async NoteClosed(nsID aStreamId);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Close(nsID aStreamId);
|
async Close(nsID aStreamId);
|
||||||
CloseAll();
|
async CloseAll();
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cache
|
} // namespace cache
|
||||||
|
@ -14,28 +14,28 @@ sync protocol PCellBroadcast {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyReceivedMessage(uint32_t aServiceId,
|
async NotifyReceivedMessage(uint32_t aServiceId,
|
||||||
uint32_t aGsmGeographicalScope,
|
uint32_t aGsmGeographicalScope,
|
||||||
uint16_t aMessageCode,
|
uint16_t aMessageCode,
|
||||||
uint16_t aMessageId,
|
uint16_t aMessageId,
|
||||||
nsString aLanguage,
|
nsString aLanguage,
|
||||||
nsString aBody,
|
nsString aBody,
|
||||||
uint32_t aMessageClass,
|
uint32_t aMessageClass,
|
||||||
uint64_t aTimestamp,
|
uint64_t aTimestamp,
|
||||||
uint32_t aCdmaServiceCategory,
|
uint32_t aCdmaServiceCategory,
|
||||||
bool aHasEtwsInfo,
|
bool aHasEtwsInfo,
|
||||||
uint32_t aEtwsWarningType,
|
uint32_t aEtwsWarningType,
|
||||||
bool aEtwsEmergencyUserAlert,
|
bool aEtwsEmergencyUserAlert,
|
||||||
bool aEtwsPopup);
|
bool aEtwsPopup);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to use cellbroadcast.
|
* Sent when the child no longer needs to use cellbroadcast.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mobilemessage
|
} // namespace mobilemessage
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
} // namespace cellbroadcast
|
} // namespace cellbroadcast
|
||||||
|
@ -85,7 +85,7 @@ union DeviceStorageResponseValue
|
|||||||
sync protocol PDeviceStorageRequest {
|
sync protocol PDeviceStorageRequest {
|
||||||
manager PContent;
|
manager PContent;
|
||||||
child:
|
child:
|
||||||
__delete__(DeviceStorageResponseValue response);
|
async __delete__(DeviceStorageResponseValue response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace devicestorage
|
} // namespace devicestorage
|
||||||
|
@ -74,17 +74,17 @@ protocol PBackgroundFileHandle
|
|||||||
manages PBackgroundFileRequest;
|
manages PBackgroundFileRequest;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
Finish();
|
async Finish();
|
||||||
Abort();
|
async Abort();
|
||||||
|
|
||||||
PBackgroundFileRequest(FileRequestParams params);
|
async PBackgroundFileRequest(FileRequestParams params);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
Complete(bool aborted);
|
async Complete(bool aborted);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -73,10 +73,10 @@ protocol PBackgroundFileRequest
|
|||||||
manager PBackgroundFileHandle;
|
manager PBackgroundFileHandle;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(FileRequestResponse response);
|
async __delete__(FileRequestResponse response);
|
||||||
|
|
||||||
Progress(uint64_t progress,
|
async Progress(uint64_t progress,
|
||||||
uint64_t progressMax);
|
uint64_t progressMax);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -20,16 +20,16 @@ sync protocol PBackgroundMutableFile
|
|||||||
manages PBackgroundFileHandle;
|
manages PBackgroundFileHandle;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
PBackgroundFileHandle(FileMode mode);
|
async PBackgroundFileHandle(FileMode mode);
|
||||||
|
|
||||||
// Use only for testing!
|
// Use only for testing!
|
||||||
sync GetFileId()
|
sync GetFileId()
|
||||||
returns (int64_t fileId);
|
returns (int64_t fileId);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -49,7 +49,7 @@ sync protocol PFileSystemRequest
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(FileSystemResponseValue response);
|
async __delete__(FileSystemResponseValue response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -71,37 +71,37 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Sent when the frequency is changed.
|
* Sent when the frequency is changed.
|
||||||
*/
|
*/
|
||||||
NotifyFrequencyChanged(double frequency);
|
async NotifyFrequencyChanged(double frequency);
|
||||||
/**
|
/**
|
||||||
* Sent when the power state of FM radio HW is changed.
|
* Sent when the power state of FM radio HW is changed.
|
||||||
*/
|
*/
|
||||||
NotifyEnabledChanged(bool enabled, double frequency);
|
async NotifyEnabledChanged(bool enabled, double frequency);
|
||||||
/**
|
/**
|
||||||
* Sent when RDS is enabled or disabled.
|
* Sent when RDS is enabled or disabled.
|
||||||
*/
|
*/
|
||||||
NotifyRDSEnabledChanged(bool enabled);
|
async NotifyRDSEnabledChanged(bool enabled);
|
||||||
/**
|
/**
|
||||||
* Sent when we have a new PI code.
|
* Sent when we have a new PI code.
|
||||||
*/
|
*/
|
||||||
NotifyPIChanged(bool valid, uint16_t code);
|
async NotifyPIChanged(bool valid, uint16_t code);
|
||||||
/**
|
/**
|
||||||
* Sent when we have a new PTY
|
* Sent when we have a new PTY
|
||||||
*/
|
*/
|
||||||
NotifyPTYChanged(bool valid, uint8_t pty);
|
async NotifyPTYChanged(bool valid, uint8_t pty);
|
||||||
/**
|
/**
|
||||||
* Sent when we have a new PS name.
|
* Sent when we have a new PS name.
|
||||||
*/
|
*/
|
||||||
NotifyPSChanged(nsString psname);
|
async NotifyPSChanged(nsString psname);
|
||||||
/**
|
/**
|
||||||
* Sent when we have new radiotext.
|
* Sent when we have new radiotext.
|
||||||
*/
|
*/
|
||||||
NotifyRadiotextChanged(nsString radiotext);
|
async NotifyRadiotextChanged(nsString radiotext);
|
||||||
/**
|
/**
|
||||||
* Sent when a full RDS group is received.
|
* Sent when a full RDS group is received.
|
||||||
*/
|
*/
|
||||||
NotifyNewRDSGroup(uint64_t data);
|
async NotifyNewRDSGroup(uint64_t data);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
@ -119,17 +119,17 @@ parent:
|
|||||||
* on web content, otherwise, we have to do the mapping stuff manually which
|
* on web content, otherwise, we have to do the mapping stuff manually which
|
||||||
* is more error prone.
|
* is more error prone.
|
||||||
*/
|
*/
|
||||||
PFMRadioRequest(FMRadioRequestArgs requestType);
|
async PFMRadioRequest(FMRadioRequestArgs requestType);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable/Disable audio
|
* Enable/Disable audio
|
||||||
*/
|
*/
|
||||||
EnableAudio(bool audioEnabled);
|
async EnableAudio(bool audioEnabled);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set RDS group mask
|
* Set RDS group mask
|
||||||
*/
|
*/
|
||||||
SetRDSGroupMask(uint32_t groupMask);
|
async SetRDSGroupMask(uint32_t groupMask);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -35,7 +35,7 @@ async protocol PFMRadioRequest
|
|||||||
manager PFMRadio;
|
manager PFMRadio;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(FMRadioResponseType response);
|
async __delete__(FMRadioResponseType response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -94,12 +94,12 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Notify CardStateChanged with updated CardState.
|
* Notify CardStateChanged with updated CardState.
|
||||||
*/
|
*/
|
||||||
NotifyCardStateChanged(uint32_t aCardState);
|
async NotifyCardStateChanged(uint32_t aCardState);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify IccInfoChanged with updated IccInfo.
|
* Notify IccInfoChanged with updated IccInfo.
|
||||||
*/
|
*/
|
||||||
NotifyIccInfoChanged(OptionalIccInfoData aInfoData);
|
async NotifyIccInfoChanged(OptionalIccInfoData aInfoData);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify STK proactive command issue by selected UICC.
|
* Notify STK proactive command issue by selected UICC.
|
||||||
@ -107,23 +107,23 @@ child:
|
|||||||
* @param aStkProactiveCmd
|
* @param aStkProactiveCmd
|
||||||
* a MozStkCommand instance serialized in JSON.
|
* a MozStkCommand instance serialized in JSON.
|
||||||
*/
|
*/
|
||||||
NotifyStkCommand(nsString aStkProactiveCmd);
|
async NotifyStkCommand(nsString aStkProactiveCmd);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify that STK session is ended by selected UICC.
|
* Notify that STK session is ended by selected UICC.
|
||||||
*/
|
*/
|
||||||
NotifyStkSessionEnd();
|
async NotifyStkSessionEnd();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to use PIcc.
|
* Sent when the child no longer needs to use PIcc.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous request to the parent.
|
* Sent when the child makes an asynchronous request to the parent.
|
||||||
*/
|
*/
|
||||||
PIccRequest(IccRequest aRequest);
|
async PIccRequest(IccRequest aRequest);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send STK response to the selected UICC.
|
* Send STK response to the selected UICC.
|
||||||
@ -133,17 +133,17 @@ parent:
|
|||||||
* @param aResponse
|
* @param aResponse
|
||||||
* a MozStkResponse instance serialized in JSON.
|
* a MozStkResponse instance serialized in JSON.
|
||||||
*/
|
*/
|
||||||
StkResponse(nsString aCommand, nsString aResponse);
|
async StkResponse(nsString aCommand, nsString aResponse);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send STK Menu Selection to the selected UICC.
|
* Send STK Menu Selection to the selected UICC.
|
||||||
*/
|
*/
|
||||||
StkMenuSelection(uint16_t aItemIdentifier, bool aHelpRequested);
|
async StkMenuSelection(uint16_t aItemIdentifier, bool aHelpRequested);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send STK Timer Expiration to the selected UICC.
|
* Send STK Timer Expiration to the selected UICC.
|
||||||
*/
|
*/
|
||||||
StkTimerExpiration(uint16_t aTimerId, uint32_t aTimerValue);
|
async StkTimerExpiration(uint16_t aTimerId, uint32_t aTimerValue);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send STK Event Download to the selected UICC.
|
* Send STK Event Download to the selected UICC.
|
||||||
@ -151,7 +151,7 @@ parent:
|
|||||||
* @param aEvent
|
* @param aEvent
|
||||||
* a MozStkXxxEvent instance serialized in JSON.
|
* a MozStkXxxEvent instance serialized in JSON.
|
||||||
*/
|
*/
|
||||||
StkEventDownload(nsString aEvent);
|
async StkEventDownload(nsString aEvent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sync call to initialize the updated IccInfo/CardState.
|
* Sync call to initialize the updated IccInfo/CardState.
|
||||||
|
@ -65,7 +65,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Sent when the asynchronous request has completed.
|
* Sent when the asynchronous request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(IccReply response);
|
async __delete__(IccReply response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace icc
|
} // namespace icc
|
||||||
|
@ -78,14 +78,14 @@ protocol PBackgroundIDBCursor
|
|||||||
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
Continue(CursorRequestParams params, Key key);
|
async Continue(CursorRequestParams params, Key key);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
Response(CursorResponse response);
|
async Response(CursorResponse response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -53,31 +53,31 @@ sync protocol PBackgroundIDBDatabase
|
|||||||
manages PBackgroundMutableFile;
|
manages PBackgroundMutableFile;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
Blocked();
|
async Blocked();
|
||||||
|
|
||||||
Close();
|
async Close();
|
||||||
|
|
||||||
PBackgroundIDBDatabaseFile(PBlob blob);
|
async PBackgroundIDBDatabaseFile(PBlob blob);
|
||||||
|
|
||||||
PBackgroundIDBDatabaseRequest(DatabaseRequestParams params);
|
async PBackgroundIDBDatabaseRequest(DatabaseRequestParams params);
|
||||||
|
|
||||||
PBackgroundIDBTransaction(nsString[] objectStoreNames, Mode mode);
|
async PBackgroundIDBTransaction(nsString[] objectStoreNames, Mode mode);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
VersionChange(uint64_t oldVersion, NullableVersion newVersion);
|
async VersionChange(uint64_t oldVersion, NullableVersion newVersion);
|
||||||
|
|
||||||
Invalidate();
|
async Invalidate();
|
||||||
|
|
||||||
PBackgroundIDBVersionChangeTransaction(uint64_t currentVersion,
|
async PBackgroundIDBVersionChangeTransaction(uint64_t currentVersion,
|
||||||
uint64_t requestedVersion,
|
uint64_t requestedVersion,
|
||||||
int64_t nextObjectStoreId,
|
int64_t nextObjectStoreId,
|
||||||
int64_t nextIndexId);
|
int64_t nextIndexId);
|
||||||
|
|
||||||
PBackgroundMutableFile(nsString name, nsString type);
|
async PBackgroundMutableFile(nsString name, nsString type);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -13,7 +13,7 @@ protocol PBackgroundIDBDatabaseFile
|
|||||||
manager PBackgroundIDBDatabase;
|
manager PBackgroundIDBDatabase;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -25,7 +25,7 @@ protocol PBackgroundIDBDatabaseRequest
|
|||||||
manager PBackgroundIDBDatabase;
|
manager PBackgroundIDBDatabase;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(DatabaseRequestResponse response);
|
async __delete__(DatabaseRequestResponse response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -49,17 +49,17 @@ sync protocol PBackgroundIDBFactory
|
|||||||
manages PBackgroundIDBFactoryRequest;
|
manages PBackgroundIDBFactoryRequest;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
PBackgroundIDBFactoryRequest(FactoryRequestParams params);
|
async PBackgroundIDBFactoryRequest(FactoryRequestParams params);
|
||||||
|
|
||||||
IncrementLoggingRequestSerialNumber();
|
async IncrementLoggingRequestSerialNumber();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
PBackgroundIDBDatabase(DatabaseSpec spec,
|
async PBackgroundIDBDatabase(DatabaseSpec spec,
|
||||||
PBackgroundIDBFactoryRequest request);
|
PBackgroundIDBFactoryRequest request);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -33,14 +33,14 @@ protocol PBackgroundIDBFactoryRequest
|
|||||||
manager PBackgroundIDBFactory;
|
manager PBackgroundIDBFactory;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(FactoryRequestResponse response);
|
async __delete__(FactoryRequestResponse response);
|
||||||
|
|
||||||
PermissionChallenge(PrincipalInfo principalInfo);
|
async PermissionChallenge(PrincipalInfo principalInfo);
|
||||||
|
|
||||||
Blocked(uint64_t currentVersion);
|
async Blocked(uint64_t currentVersion);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PermissionRetry();
|
async PermissionRetry();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -105,7 +105,7 @@ protocol PBackgroundIDBRequest
|
|||||||
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
manager PBackgroundIDBTransaction or PBackgroundIDBVersionChangeTransaction;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(RequestResponse response);
|
async __delete__(RequestResponse response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -22,19 +22,19 @@ protocol PBackgroundIDBTransaction
|
|||||||
manages PBackgroundIDBRequest;
|
manages PBackgroundIDBRequest;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
Commit();
|
async Commit();
|
||||||
Abort(nsresult resultCode);
|
async Abort(nsresult resultCode);
|
||||||
|
|
||||||
PBackgroundIDBCursor(OpenCursorParams params);
|
async PBackgroundIDBCursor(OpenCursorParams params);
|
||||||
|
|
||||||
PBackgroundIDBRequest(RequestParams params);
|
async PBackgroundIDBRequest(RequestParams params);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
Complete(nsresult result);
|
async Complete(nsresult result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -23,27 +23,27 @@ protocol PBackgroundIDBVersionChangeTransaction
|
|||||||
manages PBackgroundIDBRequest;
|
manages PBackgroundIDBRequest;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
Commit();
|
async Commit();
|
||||||
Abort(nsresult resultCode);
|
async Abort(nsresult resultCode);
|
||||||
|
|
||||||
CreateObjectStore(ObjectStoreMetadata metadata);
|
async CreateObjectStore(ObjectStoreMetadata metadata);
|
||||||
DeleteObjectStore(int64_t objectStoreId);
|
async DeleteObjectStore(int64_t objectStoreId);
|
||||||
|
|
||||||
CreateIndex(int64_t objectStoreId,
|
async CreateIndex(int64_t objectStoreId,
|
||||||
IndexMetadata metadata);
|
IndexMetadata metadata);
|
||||||
DeleteIndex(int64_t objectStoreId,
|
async DeleteIndex(int64_t objectStoreId,
|
||||||
int64_t indexId);
|
int64_t indexId);
|
||||||
|
|
||||||
PBackgroundIDBCursor(OpenCursorParams params);
|
async PBackgroundIDBCursor(OpenCursorParams params);
|
||||||
|
|
||||||
PBackgroundIDBRequest(RequestParams params);
|
async PBackgroundIDBRequest(RequestParams params);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
Complete(nsresult result);
|
async Complete(nsresult result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -18,7 +18,7 @@ sync protocol PBackgroundIndexedDBUtils
|
|||||||
manager PBackground;
|
manager PBackground;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
DeleteMe();
|
async DeleteMe();
|
||||||
|
|
||||||
// Use only for testing!
|
// Use only for testing!
|
||||||
sync GetFileReferences(PersistenceType persistenceType,
|
sync GetFileReferences(PersistenceType persistenceType,
|
||||||
@ -29,7 +29,7 @@ parent:
|
|||||||
bool result);
|
bool result);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -19,7 +19,7 @@ child:
|
|||||||
* @param permission
|
* @param permission
|
||||||
* The permission result (see nsIPermissionManager.idl for valid values).
|
* The permission result (see nsIPermissionManager.idl for valid values).
|
||||||
*/
|
*/
|
||||||
__delete__(uint32_t permission);
|
async __delete__(uint32_t permission);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace indexedDB
|
} // namespace indexedDB
|
||||||
|
@ -26,12 +26,12 @@ sync protocol PBlob
|
|||||||
manages PBlobStream;
|
manages PBlobStream;
|
||||||
|
|
||||||
both:
|
both:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PBlobStream(uint64_t begin, uint64_t length);
|
async PBlobStream(uint64_t begin, uint64_t length);
|
||||||
|
|
||||||
ResolveMystery(ResolveMysteryParams params);
|
async ResolveMystery(ResolveMysteryParams params);
|
||||||
|
|
||||||
sync BlobStreamSync(uint64_t begin, uint64_t length)
|
sync BlobStreamSync(uint64_t begin, uint64_t length)
|
||||||
returns (InputStreamParams params, OptionalFileDescriptorSet fds);
|
returns (InputStreamParams params, OptionalFileDescriptorSet fds);
|
||||||
@ -49,7 +49,7 @@ parent:
|
|||||||
child:
|
child:
|
||||||
// This method must be called by the parent when the PBlobParent is fully
|
// This method must be called by the parent when the PBlobParent is fully
|
||||||
// created in order to release the known blob.
|
// created in order to release the known blob.
|
||||||
CreatedFromKnownBlob();
|
async CreatedFromKnownBlob();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -14,7 +14,7 @@ protocol PBlobStream
|
|||||||
manager PBlob;
|
manager PBlob;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(InputStreamParams params, OptionalFileDescriptorSet fds);
|
async __delete__(InputStreamParams params, OptionalFileDescriptorSet fds);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -110,14 +110,14 @@ prio(normal upto urgent) sync protocol PBrowser
|
|||||||
manages PPluginWidget;
|
manages PPluginWidget;
|
||||||
|
|
||||||
both:
|
both:
|
||||||
AsyncMessage(nsString aMessage, ClonedMessageData aData, CpowEntry[] aCpows,
|
async AsyncMessage(nsString aMessage, ClonedMessageData aData, CpowEntry[] aCpows,
|
||||||
Principal aPrincipal);
|
Principal aPrincipal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a layout frame (encapsulating a remote layer tree) for
|
* Create a layout frame (encapsulating a remote layer tree) for
|
||||||
* the page that is currently loaded in the <browser>.
|
* the page that is currently loaded in the <browser>.
|
||||||
*/
|
*/
|
||||||
PRenderFrame();
|
async PRenderFrame();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
@ -126,7 +126,7 @@ parent:
|
|||||||
* aParentAcc is the id of the accessible in that document the new document
|
* aParentAcc is the id of the accessible in that document the new document
|
||||||
* is a child of.
|
* is a child of.
|
||||||
*/
|
*/
|
||||||
PDocAccessible(nullable PDocAccessible aParentDoc, uint64_t aParentAcc);
|
async PDocAccessible(nullable PDocAccessible aParentDoc, uint64_t aParentAcc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new remoted nsIWidget connection for windowed plugins
|
* Creates a new remoted nsIWidget connection for windowed plugins
|
||||||
@ -158,9 +158,9 @@ parent:
|
|||||||
* When child sends this message, parent should move focus to
|
* When child sends this message, parent should move focus to
|
||||||
* the next or previous focusable element or document.
|
* the next or previous focusable element or document.
|
||||||
*/
|
*/
|
||||||
MoveFocus(bool forward, bool forDocumentNavigation);
|
async MoveFocus(bool forward, bool forDocumentNavigation);
|
||||||
|
|
||||||
Event(RemoteDOMEvent aEvent);
|
async Event(RemoteDOMEvent aEvent);
|
||||||
|
|
||||||
sync SyncMessage(nsString aMessage, ClonedMessageData aData,
|
sync SyncMessage(nsString aMessage, ClonedMessageData aData,
|
||||||
CpowEntry[] aCpows, Principal aPrincipal)
|
CpowEntry[] aCpows, Principal aPrincipal)
|
||||||
@ -295,15 +295,15 @@ parent:
|
|||||||
* Request that the parent process move focus to the browser's frame. If
|
* Request that the parent process move focus to the browser's frame. If
|
||||||
* canRaise is true, the window can be raised if it is inactive.
|
* canRaise is true, the window can be raised if it is inactive.
|
||||||
*/
|
*/
|
||||||
RequestFocus(bool canRaise);
|
async RequestFocus(bool canRaise);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicate, based on the current state, that some commands are enabled and
|
* Indicate, based on the current state, that some commands are enabled and
|
||||||
* some are disabled.
|
* some are disabled.
|
||||||
*/
|
*/
|
||||||
EnableDisableCommands(nsString action,
|
async EnableDisableCommands(nsString action,
|
||||||
nsCString[] enabledCommands,
|
nsCString[] enabledCommands,
|
||||||
nsCString[] disabledCommands);
|
nsCString[] disabledCommands);
|
||||||
|
|
||||||
prio(urgent) sync GetInputContext() returns (int32_t IMEEnabled,
|
prio(urgent) sync GetInputContext() returns (int32_t IMEEnabled,
|
||||||
int32_t IMEOpen);
|
int32_t IMEOpen);
|
||||||
@ -341,7 +341,7 @@ parent:
|
|||||||
* Invalidate any locally cached cursor settings and force an
|
* Invalidate any locally cached cursor settings and force an
|
||||||
* update.
|
* update.
|
||||||
*/
|
*/
|
||||||
SetCursor(uint32_t value, bool force);
|
async SetCursor(uint32_t value, bool force);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the native cursor using a custom image.
|
* Set the native cursor using a custom image.
|
||||||
@ -363,30 +363,30 @@ parent:
|
|||||||
* Invalidate any locally cached cursor settings and force an
|
* Invalidate any locally cached cursor settings and force an
|
||||||
* update.
|
* update.
|
||||||
*/
|
*/
|
||||||
SetCustomCursor(nsCString cursorData, uint32_t width, uint32_t height,
|
async SetCustomCursor(nsCString cursorData, uint32_t width, uint32_t height,
|
||||||
uint32_t stride, uint8_t format,
|
uint32_t stride, uint8_t format,
|
||||||
uint32_t hotspotX, uint32_t hotspotY, bool force);
|
uint32_t hotspotX, uint32_t hotspotY, bool force);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to set the current text of the status tooltip.
|
* Used to set the current text of the status tooltip.
|
||||||
* Nowadays this is mainly used for link locations on hover.
|
* Nowadays this is mainly used for link locations on hover.
|
||||||
*/
|
*/
|
||||||
SetStatus(uint32_t type, nsString status);
|
async SetStatus(uint32_t type, nsString status);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show/hide a tooltip when the mouse hovers over an element in the content
|
* Show/hide a tooltip when the mouse hovers over an element in the content
|
||||||
* document.
|
* document.
|
||||||
*/
|
*/
|
||||||
ShowTooltip(uint32_t x, uint32_t y, nsString tooltip);
|
async ShowTooltip(uint32_t x, uint32_t y, nsString tooltip);
|
||||||
HideTooltip();
|
async HideTooltip();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an asynchronous color picker on the parent side,
|
* Create an asynchronous color picker on the parent side,
|
||||||
* but don't open it yet.
|
* but don't open it yet.
|
||||||
*/
|
*/
|
||||||
PColorPicker(nsString title, nsString initialColor);
|
async PColorPicker(nsString title, nsString initialColor);
|
||||||
|
|
||||||
PFilePicker(nsString aTitle, int16_t aMode);
|
async PFilePicker(nsString aTitle, int16_t aMode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initiates an asynchronous request for one of the special indexedDB
|
* Initiates an asynchronous request for one of the special indexedDB
|
||||||
@ -399,7 +399,7 @@ parent:
|
|||||||
* principals that can live in the content process should
|
* principals that can live in the content process should
|
||||||
* provided.
|
* provided.
|
||||||
*/
|
*/
|
||||||
PIndexedDBPermissionRequest(Principal principal);
|
async PIndexedDBPermissionRequest(Principal principal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* window.open from inside <iframe mozbrowser> is special. When the child
|
* window.open from inside <iframe mozbrowser> is special. When the child
|
||||||
@ -420,7 +420,7 @@ parent:
|
|||||||
* Instructs the TabParent to forward a request to zoom to a rect given in
|
* Instructs the TabParent to forward a request to zoom to a rect given in
|
||||||
* CSS pixels. This rect is relative to the document.
|
* CSS pixels. This rect is relative to the document.
|
||||||
*/
|
*/
|
||||||
ZoomToRect(uint32_t aPresShellId, ViewID aViewId, CSSRect aRect, uint32_t aFlags);
|
async ZoomToRect(uint32_t aPresShellId, ViewID aViewId, CSSRect aRect, uint32_t aFlags);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We know for sure that content has either preventDefaulted or not
|
* We know for sure that content has either preventDefaulted or not
|
||||||
@ -429,36 +429,36 @@ parent:
|
|||||||
* batched and only processed for panning and zooming if content does not
|
* batched and only processed for panning and zooming if content does not
|
||||||
* preventDefault.
|
* preventDefault.
|
||||||
*/
|
*/
|
||||||
ContentReceivedInputBlock(ScrollableLayerGuid aGuid, uint64_t aInputBlockId, bool aPreventDefault);
|
async ContentReceivedInputBlock(ScrollableLayerGuid aGuid, uint64_t aInputBlockId, bool aPreventDefault);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies the APZ code of the results of the gecko hit-test for a
|
* Notifies the APZ code of the results of the gecko hit-test for a
|
||||||
* particular input block. Each target corresponds to one touch point in the
|
* particular input block. Each target corresponds to one touch point in the
|
||||||
* touch event.
|
* touch event.
|
||||||
*/
|
*/
|
||||||
SetTargetAPZC(uint64_t aInputBlockId, ScrollableLayerGuid[] aTargets);
|
async SetTargetAPZC(uint64_t aInputBlockId, ScrollableLayerGuid[] aTargets);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies the APZ code of the allowed touch-behaviours for a particular
|
* Notifies the APZ code of the allowed touch-behaviours for a particular
|
||||||
* input block. Each item in the aFlags array corresponds to one touch point
|
* input block. Each item in the aFlags array corresponds to one touch point
|
||||||
* in the touch event.
|
* in the touch event.
|
||||||
*/
|
*/
|
||||||
SetAllowedTouchBehavior(uint64_t aInputBlockId, TouchBehaviorFlags[] aFlags);
|
async SetAllowedTouchBehavior(uint64_t aInputBlockId, TouchBehaviorFlags[] aFlags);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the zoom constraints for a scrollable frame in this tab.
|
* Updates the zoom constraints for a scrollable frame in this tab.
|
||||||
* The zoom controller code lives on the parent side and so this allows it to
|
* The zoom controller code lives on the parent side and so this allows it to
|
||||||
* have up-to-date zoom constraints.
|
* have up-to-date zoom constraints.
|
||||||
*/
|
*/
|
||||||
UpdateZoomConstraints(uint32_t aPresShellId, ViewID aViewId,
|
async UpdateZoomConstraints(uint32_t aPresShellId, ViewID aViewId,
|
||||||
MaybeZoomConstraints aConstraints);
|
MaybeZoomConstraints aConstraints);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tells the containing widget whether the given input block results in a
|
* Tells the containing widget whether the given input block results in a
|
||||||
* swipe. Should be called in response to a WidgetWheelEvent that has
|
* swipe. Should be called in response to a WidgetWheelEvent that has
|
||||||
* mFlags.mCanTriggerSwipe set on it.
|
* mFlags.mCanTriggerSwipe set on it.
|
||||||
*/
|
*/
|
||||||
RespondStartSwipeEvent(uint64_t aInputBlockId, bool aStartSwipe);
|
async RespondStartSwipeEvent(uint64_t aInputBlockId, bool aStartSwipe);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Brings up the auth prompt dialog.
|
* Brings up the auth prompt dialog.
|
||||||
@ -467,49 +467,49 @@ parent:
|
|||||||
* root process. It will be passed back to the root process with either the
|
* root process. It will be passed back to the root process with either the
|
||||||
* OnAuthAvailable or OnAuthCancelled message.
|
* OnAuthAvailable or OnAuthCancelled message.
|
||||||
*/
|
*/
|
||||||
AsyncAuthPrompt(nsCString uri, nsString realm, uint64_t aCallbackId);
|
async AsyncAuthPrompt(nsCString uri, nsString realm, uint64_t aCallbackId);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
ReplyKeyEvent(WidgetKeyboardEvent event);
|
async ReplyKeyEvent(WidgetKeyboardEvent event);
|
||||||
|
|
||||||
DispatchAfterKeyboardEvent(WidgetKeyboardEvent event);
|
async DispatchAfterKeyboardEvent(WidgetKeyboardEvent event);
|
||||||
|
|
||||||
sync RequestNativeKeyBindings(WidgetKeyboardEvent event)
|
sync RequestNativeKeyBindings(WidgetKeyboardEvent event)
|
||||||
returns (MaybeNativeKeyBinding bindings);
|
returns (MaybeNativeKeyBinding bindings);
|
||||||
|
|
||||||
SynthesizeNativeKeyEvent(int32_t aNativeKeyboardLayout,
|
async SynthesizeNativeKeyEvent(int32_t aNativeKeyboardLayout,
|
||||||
int32_t aNativeKeyCode,
|
int32_t aNativeKeyCode,
|
||||||
uint32_t aModifierFlags,
|
uint32_t aModifierFlags,
|
||||||
nsString aCharacters,
|
nsString aCharacters,
|
||||||
nsString aUnmodifiedCharacters,
|
nsString aUnmodifiedCharacters,
|
||||||
uint64_t aObserverId);
|
uint64_t aObserverId);
|
||||||
SynthesizeNativeMouseEvent(LayoutDeviceIntPoint aPoint,
|
async SynthesizeNativeMouseEvent(LayoutDeviceIntPoint aPoint,
|
||||||
uint32_t aNativeMessage,
|
|
||||||
uint32_t aModifierFlags,
|
|
||||||
uint64_t aObserverId);
|
|
||||||
SynthesizeNativeMouseMove(LayoutDeviceIntPoint aPoint,
|
|
||||||
uint64_t aObserverId);
|
|
||||||
SynthesizeNativeMouseScrollEvent(LayoutDeviceIntPoint aPoint,
|
|
||||||
uint32_t aNativeMessage,
|
uint32_t aNativeMessage,
|
||||||
double aDeltaX,
|
|
||||||
double aDeltaY,
|
|
||||||
double aDeltaZ,
|
|
||||||
uint32_t aModifierFlags,
|
uint32_t aModifierFlags,
|
||||||
uint32_t aAdditionalFlags,
|
|
||||||
uint64_t aObserverId);
|
uint64_t aObserverId);
|
||||||
SynthesizeNativeTouchPoint(uint32_t aPointerId,
|
async SynthesizeNativeMouseMove(LayoutDeviceIntPoint aPoint,
|
||||||
TouchPointerState aPointerState,
|
uint64_t aObserverId);
|
||||||
ScreenIntPoint aPointerScreenPoint,
|
async SynthesizeNativeMouseScrollEvent(LayoutDeviceIntPoint aPoint,
|
||||||
double aPointerPressure,
|
uint32_t aNativeMessage,
|
||||||
uint32_t aPointerOrientation,
|
double aDeltaX,
|
||||||
uint64_t aObserverId);
|
double aDeltaY,
|
||||||
SynthesizeNativeTouchTap(ScreenIntPoint aPointerScreenPoint,
|
double aDeltaZ,
|
||||||
bool aLongTap,
|
uint32_t aModifierFlags,
|
||||||
uint64_t aObserverId);
|
uint32_t aAdditionalFlags,
|
||||||
ClearNativeTouchSequence(uint64_t aObserverId);
|
uint64_t aObserverId);
|
||||||
|
async SynthesizeNativeTouchPoint(uint32_t aPointerId,
|
||||||
|
TouchPointerState aPointerState,
|
||||||
|
ScreenIntPoint aPointerScreenPoint,
|
||||||
|
double aPointerPressure,
|
||||||
|
uint32_t aPointerOrientation,
|
||||||
|
uint64_t aObserverId);
|
||||||
|
async SynthesizeNativeTouchTap(ScreenIntPoint aPointerScreenPoint,
|
||||||
|
bool aLongTap,
|
||||||
|
uint64_t aObserverId);
|
||||||
|
async ClearNativeTouchSequence(uint64_t aObserverId);
|
||||||
child:
|
child:
|
||||||
NativeSynthesisResponse(uint64_t aObserverId, nsCString aResponse);
|
async NativeSynthesisResponse(uint64_t aObserverId, nsCString aResponse);
|
||||||
|
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
@ -540,9 +540,10 @@ parent:
|
|||||||
// Start an APZ drag on a scrollbar
|
// Start an APZ drag on a scrollbar
|
||||||
async StartScrollbarDrag(AsyncDragMetrics aDragMetrics);
|
async StartScrollbarDrag(AsyncDragMetrics aDragMetrics);
|
||||||
|
|
||||||
InvokeDragSession(IPCDataTransfer[] transfers, uint32_t action,
|
async InvokeDragSession(IPCDataTransfer[] transfers, uint32_t action,
|
||||||
nsCString visualData, uint32_t width, uint32_t height,
|
nsCString visualData, uint32_t width, uint32_t height,
|
||||||
uint32_t stride, uint8_t format, int32_t dragAreaX, int32_t dragAreaY);
|
uint32_t stride, uint8_t format,
|
||||||
|
int32_t dragAreaX, int32_t dragAreaY);
|
||||||
|
|
||||||
async AudioChannelActivityNotification(uint32_t aAudioChannel,
|
async AudioChannelActivityNotification(uint32_t aAudioChannel,
|
||||||
bool aActive);
|
bool aActive);
|
||||||
@ -557,74 +558,74 @@ child:
|
|||||||
* content processes always render to a virtual <0, 0> top-left
|
* content processes always render to a virtual <0, 0> top-left
|
||||||
* point.
|
* point.
|
||||||
*/
|
*/
|
||||||
Show(ScreenIntSize size,
|
async Show(ScreenIntSize size,
|
||||||
ShowInfo info,
|
ShowInfo info,
|
||||||
TextureFactoryIdentifier textureFactoryIdentifier,
|
TextureFactoryIdentifier textureFactoryIdentifier,
|
||||||
uint64_t layersId,
|
uint64_t layersId,
|
||||||
nullable PRenderFrame renderFrame,
|
nullable PRenderFrame renderFrame,
|
||||||
bool parentIsActive);
|
bool parentIsActive);
|
||||||
|
|
||||||
LoadURL(nsCString uri, BrowserConfiguration config, ShowInfo info);
|
async LoadURL(nsCString uri, BrowserConfiguration config, ShowInfo info);
|
||||||
|
|
||||||
OpenURI(URIParams uri, uint32_t flags);
|
async OpenURI(URIParams uri, uint32_t flags);
|
||||||
|
|
||||||
CacheFileDescriptor(nsString path, FileDescriptor fd);
|
async CacheFileDescriptor(nsString path, FileDescriptor fd);
|
||||||
|
|
||||||
UpdateDimensions(CSSRect rect, CSSSize size, nsSizeMode sizeMode,
|
async UpdateDimensions(CSSRect rect, CSSSize size, nsSizeMode sizeMode,
|
||||||
ScreenOrientationInternal orientation,
|
ScreenOrientationInternal orientation,
|
||||||
LayoutDeviceIntPoint chromeDisp) compressall;
|
LayoutDeviceIntPoint chromeDisp) compressall;
|
||||||
|
|
||||||
UpdateFrame(FrameMetrics frame);
|
async UpdateFrame(FrameMetrics frame);
|
||||||
|
|
||||||
// The following methods correspond to functions on the GeckoContentController
|
// The following methods correspond to functions on the GeckoContentController
|
||||||
// interface in gfx/layers/apz/public/GeckoContentController.h. Refer to documentation
|
// interface in gfx/layers/apz/public/GeckoContentController.h. Refer to documentation
|
||||||
// in that file for these functions.
|
// in that file for these functions.
|
||||||
RequestFlingSnap(ViewID aScrollID, CSSPoint aDestination);
|
async RequestFlingSnap(ViewID aScrollID, CSSPoint aDestination);
|
||||||
AcknowledgeScrollUpdate(ViewID aScrollId, uint32_t aScrollGeneration);
|
async AcknowledgeScrollUpdate(ViewID aScrollId, uint32_t aScrollGeneration);
|
||||||
HandleDoubleTap(CSSPoint aPoint, Modifiers aModifiers, ScrollableLayerGuid aGuid);
|
async HandleDoubleTap(CSSPoint aPoint, Modifiers aModifiers, ScrollableLayerGuid aGuid);
|
||||||
HandleSingleTap(CSSPoint aPoint, Modifiers aModifiers, ScrollableLayerGuid aGuid);
|
async HandleSingleTap(CSSPoint aPoint, Modifiers aModifiers, ScrollableLayerGuid aGuid);
|
||||||
HandleLongTap(CSSPoint point, Modifiers aModifiers, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
async HandleLongTap(CSSPoint point, Modifiers aModifiers, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
||||||
NotifyAPZStateChange(ViewID aViewId, APZStateChange aChange, int aArg);
|
async NotifyAPZStateChange(ViewID aViewId, APZStateChange aChange, int aArg);
|
||||||
NotifyFlushComplete();
|
async NotifyFlushComplete();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sending an activate message moves focus to the child.
|
* Sending an activate message moves focus to the child.
|
||||||
*/
|
*/
|
||||||
Activate();
|
async Activate();
|
||||||
|
|
||||||
Deactivate();
|
async Deactivate();
|
||||||
|
|
||||||
ParentActivated(bool aActivated);
|
async ParentActivated(bool aActivated);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* StopIMEStateManagement() is called when the process loses focus and
|
* StopIMEStateManagement() is called when the process loses focus and
|
||||||
* should stop managing IME state.
|
* should stop managing IME state.
|
||||||
*/
|
*/
|
||||||
StopIMEStateManagement();
|
async StopIMEStateManagement();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MenuKeyboardListenerInstalled() is called when menu keyboard listener
|
* MenuKeyboardListenerInstalled() is called when menu keyboard listener
|
||||||
* is installed in the parent process.
|
* is installed in the parent process.
|
||||||
*/
|
*/
|
||||||
MenuKeyboardListenerInstalled(bool aInstalled);
|
async MenuKeyboardListenerInstalled(bool aInstalled);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see nsIDOMWindowUtils sendMouseEvent.
|
* @see nsIDOMWindowUtils sendMouseEvent.
|
||||||
*/
|
*/
|
||||||
MouseEvent(nsString aType,
|
async MouseEvent(nsString aType,
|
||||||
float aX,
|
float aX,
|
||||||
float aY,
|
float aY,
|
||||||
int32_t aButton,
|
int32_t aButton,
|
||||||
int32_t aClickCount,
|
int32_t aClickCount,
|
||||||
int32_t aModifiers,
|
int32_t aModifiers,
|
||||||
bool aIgnoreRootScrollFrame);
|
bool aIgnoreRootScrollFrame);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When two consecutive mouse move events would be added to the message queue,
|
* When two consecutive mouse move events would be added to the message queue,
|
||||||
* they are 'compressed' by dumping the oldest one.
|
* they are 'compressed' by dumping the oldest one.
|
||||||
*/
|
*/
|
||||||
RealMouseMoveEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId) compress;
|
async RealMouseMoveEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId) compress;
|
||||||
/**
|
/**
|
||||||
* Mouse move events with |reason == eSynthesized| are sent via a separate
|
* Mouse move events with |reason == eSynthesized| are sent via a separate
|
||||||
* message because they do not generate DOM 'mousemove' events, and the
|
* message because they do not generate DOM 'mousemove' events, and the
|
||||||
@ -632,45 +633,45 @@ child:
|
|||||||
* |reason == eReal| event being dropped in favour of an |eSynthesized|
|
* |reason == eReal| event being dropped in favour of an |eSynthesized|
|
||||||
* event, and thus a DOM 'mousemove' event to be lost.
|
* event, and thus a DOM 'mousemove' event to be lost.
|
||||||
*/
|
*/
|
||||||
SynthMouseMoveEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
async SynthMouseMoveEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
||||||
RealMouseButtonEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
async RealMouseButtonEvent(WidgetMouseEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
||||||
RealKeyEvent(WidgetKeyboardEvent event, MaybeNativeKeyBinding keyBinding);
|
async RealKeyEvent(WidgetKeyboardEvent event, MaybeNativeKeyBinding keyBinding);
|
||||||
MouseWheelEvent(WidgetWheelEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
async MouseWheelEvent(WidgetWheelEvent event, ScrollableLayerGuid aGuid, uint64_t aInputBlockId);
|
||||||
RealTouchEvent(WidgetTouchEvent aEvent,
|
async RealTouchEvent(WidgetTouchEvent aEvent,
|
||||||
ScrollableLayerGuid aGuid,
|
ScrollableLayerGuid aGuid,
|
||||||
uint64_t aInputBlockId,
|
uint64_t aInputBlockId,
|
||||||
nsEventStatus aApzResponse);
|
nsEventStatus aApzResponse);
|
||||||
RealTouchMoveEvent(WidgetTouchEvent aEvent,
|
async RealTouchMoveEvent(WidgetTouchEvent aEvent,
|
||||||
ScrollableLayerGuid aGuid,
|
ScrollableLayerGuid aGuid,
|
||||||
uint64_t aInputBlockId,
|
uint64_t aInputBlockId,
|
||||||
nsEventStatus aApzResponse);
|
nsEventStatus aApzResponse);
|
||||||
RealDragEvent(WidgetDragEvent aEvent, uint32_t aDragAction, uint32_t aDropEffect);
|
async RealDragEvent(WidgetDragEvent aEvent, uint32_t aDragAction, uint32_t aDropEffect);
|
||||||
PluginEvent(WidgetPluginEvent aEvent);
|
async PluginEvent(WidgetPluginEvent aEvent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see nsIDOMWindowUtils sendKeyEvent.
|
* @see nsIDOMWindowUtils sendKeyEvent.
|
||||||
*/
|
*/
|
||||||
KeyEvent(nsString aType,
|
async KeyEvent(nsString aType,
|
||||||
int32_t aKeyCode,
|
int32_t aKeyCode,
|
||||||
int32_t aCharCode,
|
int32_t aCharCode,
|
||||||
int32_t aModifiers,
|
int32_t aModifiers,
|
||||||
bool aPreventDefault);
|
bool aPreventDefault);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APZ notification for mouse scroll testing events.
|
* APZ notification for mouse scroll testing events.
|
||||||
*/
|
*/
|
||||||
MouseScrollTestEvent(ViewID aScrollId, nsString aEvent);
|
async MouseScrollTestEvent(ViewID aScrollId, nsString aEvent);
|
||||||
|
|
||||||
CompositionEvent(WidgetCompositionEvent event);
|
async CompositionEvent(WidgetCompositionEvent event);
|
||||||
|
|
||||||
SelectionEvent(WidgetSelectionEvent event);
|
async SelectionEvent(WidgetSelectionEvent event);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Activate event forwarding from client to parent.
|
* Activate event forwarding from client to parent.
|
||||||
*/
|
*/
|
||||||
ActivateFrameEvent(nsString aType, bool capture);
|
async ActivateFrameEvent(nsString aType, bool capture);
|
||||||
|
|
||||||
LoadRemoteScript(nsString aURL, bool aRunInGlobalScope);
|
async LoadRemoteScript(nsString aURL, bool aRunInGlobalScope);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a asynchronous request to render whatever document is
|
* Create a asynchronous request to render whatever document is
|
||||||
@ -685,10 +686,10 @@ child:
|
|||||||
* and if true, |flushLayout| will do just that before rendering
|
* and if true, |flushLayout| will do just that before rendering
|
||||||
* the document. The rendered image will be of size |renderSize|.
|
* the document. The rendered image will be of size |renderSize|.
|
||||||
*/
|
*/
|
||||||
PDocumentRenderer(nsRect documentRect, Matrix transform,
|
async PDocumentRenderer(nsRect documentRect, Matrix transform,
|
||||||
nsString bgcolor,
|
nsString bgcolor,
|
||||||
uint32_t renderFlags, bool flushLayout,
|
uint32_t renderFlags, bool flushLayout,
|
||||||
IntSize renderSize);
|
IntSize renderSize);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent by the chrome process when it no longer wants this remote
|
* Sent by the chrome process when it no longer wants this remote
|
||||||
@ -696,19 +697,19 @@ child:
|
|||||||
* finalizing its death by sending back __delete__() to the
|
* finalizing its death by sending back __delete__() to the
|
||||||
* parent.
|
* parent.
|
||||||
*/
|
*/
|
||||||
Destroy();
|
async Destroy();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the child side if it has to update it's touchable region
|
* Tell the child side if it has to update it's touchable region
|
||||||
* to the parent.
|
* to the parent.
|
||||||
*/
|
*/
|
||||||
SetUpdateHitRegion(bool aEnabled);
|
async SetUpdateHitRegion(bool aEnabled);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the child side docShell active (resource use) state.
|
* Update the child side docShell active (resource use) state.
|
||||||
*/
|
*/
|
||||||
SetDocShellIsActive(bool aIsActive, bool aIsHidden);
|
async SetDocShellIsActive(bool aIsActive, bool aIsHidden);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify the child that it shouldn't paint the offscreen displayport.
|
* Notify the child that it shouldn't paint the offscreen displayport.
|
||||||
@ -724,7 +725,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Navigate by key (Tab/Shift+Tab/F6/Shift+f6).
|
* Navigate by key (Tab/Shift+Tab/F6/Shift+f6).
|
||||||
*/
|
*/
|
||||||
NavigateByKey(bool aForward, bool aForDocumentNavigation);
|
async NavigateByKey(bool aForward, bool aForDocumentNavigation);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The parent (chrome thread) requests that the child inform it when
|
* The parent (chrome thread) requests that the child inform it when
|
||||||
@ -743,24 +744,24 @@ child:
|
|||||||
* value (-1) but in the majority of the cases this saves us from two
|
* value (-1) but in the majority of the cases this saves us from two
|
||||||
* sync requests from the child to the parent.
|
* sync requests from the child to the parent.
|
||||||
*/
|
*/
|
||||||
UIResolutionChanged(float dpi, double scale);
|
async UIResolutionChanged(float dpi, double scale);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the child that the system theme has changed, and that a repaint
|
* Tell the child that the system theme has changed, and that a repaint
|
||||||
* is necessary.
|
* is necessary.
|
||||||
*/
|
*/
|
||||||
ThemeChanged(LookAndFeelInt[] lookAndFeelIntCache);
|
async ThemeChanged(LookAndFeelInt[] lookAndFeelIntCache);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the child of an app's offline status
|
* Tell the child of an app's offline status
|
||||||
*/
|
*/
|
||||||
AppOfflineStatus(uint32_t id, bool offline);
|
async AppOfflineStatus(uint32_t id, bool offline);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the browser that its frame loader has been swapped
|
* Tell the browser that its frame loader has been swapped
|
||||||
* with another.
|
* with another.
|
||||||
*/
|
*/
|
||||||
SwappedWithOtherRemoteLoader();
|
async SwappedWithOtherRemoteLoader();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A potential accesskey was just pressed. Look for accesskey targets
|
* A potential accesskey was just pressed. Look for accesskey targets
|
||||||
@ -770,14 +771,14 @@ child:
|
|||||||
* @param isTrusted true if triggered by a trusted key event
|
* @param isTrusted true if triggered by a trusted key event
|
||||||
* @param modifierMask indicates which accesskey modifiers are pressed
|
* @param modifierMask indicates which accesskey modifiers are pressed
|
||||||
*/
|
*/
|
||||||
HandleAccessKey(uint32_t[] charCodes, bool isTrusted, int32_t modifierMask);
|
async HandleAccessKey(uint32_t[] charCodes, bool isTrusted, int32_t modifierMask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Propagate a refresh to the child process
|
* Propagate a refresh to the child process
|
||||||
*/
|
*/
|
||||||
AudioChannelChangeNotification(uint32_t aAudioChannel,
|
async AudioChannelChangeNotification(uint32_t aAudioChannel,
|
||||||
float aVolume,
|
float aVolume,
|
||||||
bool aMuted);
|
bool aMuted);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: write protocol!
|
* FIXME: write protocol!
|
||||||
|
@ -15,12 +15,12 @@ protocol PColorPicker
|
|||||||
manager PBrowser;
|
manager PBrowser;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Open();
|
async Open();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Update(nsString color);
|
async Update(nsString color);
|
||||||
|
|
||||||
__delete__(nsString color);
|
async __delete__(nsString color);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -532,14 +532,14 @@ both:
|
|||||||
|
|
||||||
async PBlob(BlobConstructorParams params);
|
async PBlob(BlobConstructorParams params);
|
||||||
|
|
||||||
PFileDescriptorSet(FileDescriptor fd);
|
async PFileDescriptorSet(FileDescriptor fd);
|
||||||
|
|
||||||
// For parent->child, aBrowser must be non-null; aOuterWindowID can
|
// For parent->child, aBrowser must be non-null; aOuterWindowID can
|
||||||
// be 0 to indicate the browser's current root document, or nonzero
|
// be 0 to indicate the browser's current root document, or nonzero
|
||||||
// to persist a subdocument. For child->parent, arguments are
|
// to persist a subdocument. For child->parent, arguments are
|
||||||
// ignored and should be null/zero.
|
// ignored and should be null/zero.
|
||||||
PWebBrowserPersistDocument(nullable PBrowser aBrowser,
|
async PWebBrowserPersistDocument(nullable PBrowser aBrowser,
|
||||||
uint64_t aOuterWindowID);
|
uint64_t aOuterWindowID);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
/**
|
/**
|
||||||
@ -549,8 +549,8 @@ child:
|
|||||||
*/
|
*/
|
||||||
async SetProcessSandbox(MaybeFileDesc aBroker);
|
async SetProcessSandbox(MaybeFileDesc aBroker);
|
||||||
|
|
||||||
PMemoryReportRequest(uint32_t generation, bool anonymize,
|
async PMemoryReportRequest(uint32_t generation, bool anonymize,
|
||||||
bool minimizeMemoryUsage, MaybeFileDesc DMDFile);
|
bool minimizeMemoryUsage, MaybeFileDesc DMDFile);
|
||||||
|
|
||||||
async SpeakerManagerNotify();
|
async SpeakerManagerNotify();
|
||||||
|
|
||||||
@ -569,15 +569,15 @@ child:
|
|||||||
* For documentation on the other args, see dumpGCAndCCLogsToFile in
|
* For documentation on the other args, see dumpGCAndCCLogsToFile in
|
||||||
* nsIMemoryInfoDumper.idl
|
* nsIMemoryInfoDumper.idl
|
||||||
*/
|
*/
|
||||||
PCycleCollectWithLogs(bool dumpAllTraces,
|
async PCycleCollectWithLogs(bool dumpAllTraces,
|
||||||
FileDescriptor gcLog,
|
FileDescriptor gcLog,
|
||||||
FileDescriptor ccLog);
|
FileDescriptor ccLog);
|
||||||
|
|
||||||
PTestShell();
|
async PTestShell();
|
||||||
|
|
||||||
RegisterChrome(ChromePackage[] packages, SubstitutionMapping[] substitutions,
|
async RegisterChrome(ChromePackage[] packages, SubstitutionMapping[] substitutions,
|
||||||
OverrideMapping[] overrides, nsCString locale, bool reset);
|
OverrideMapping[] overrides, nsCString locale, bool reset);
|
||||||
RegisterChromeItem(ChromeRegistryItem item);
|
async RegisterChromeItem(ChromeRegistryItem item);
|
||||||
|
|
||||||
async SetOffline(bool offline);
|
async SetOffline(bool offline);
|
||||||
async SetConnectivity(bool connectivity);
|
async SetConnectivity(bool connectivity);
|
||||||
@ -586,59 +586,59 @@ child:
|
|||||||
|
|
||||||
async SystemMemoryAvailable(uint64_t getterId, uint32_t memoryAvailable);
|
async SystemMemoryAvailable(uint64_t getterId, uint32_t memoryAvailable);
|
||||||
|
|
||||||
PreferenceUpdate(PrefSetting pref);
|
async PreferenceUpdate(PrefSetting pref);
|
||||||
|
|
||||||
DataStoragePut(nsString aFilename, DataStorageItem aItem);
|
async DataStoragePut(nsString aFilename, DataStorageItem aItem);
|
||||||
DataStorageRemove(nsString aFilename, nsCString aKey, DataStorageType aType);
|
async DataStorageRemove(nsString aFilename, nsCString aKey, DataStorageType aType);
|
||||||
DataStorageClear(nsString aFilename);
|
async DataStorageClear(nsString aFilename);
|
||||||
|
|
||||||
NotifyAlertsObserver(nsCString topic, nsString data);
|
async NotifyAlertsObserver(nsCString topic, nsString data);
|
||||||
|
|
||||||
GeolocationUpdate(GeoPosition somewhere);
|
async GeolocationUpdate(GeoPosition somewhere);
|
||||||
|
|
||||||
GeolocationError(uint16_t errorCode);
|
async GeolocationError(uint16_t errorCode);
|
||||||
|
|
||||||
UpdateDictionaryList(nsString[] dictionaries);
|
async UpdateDictionaryList(nsString[] dictionaries);
|
||||||
|
|
||||||
// nsIPermissionManager messages
|
// nsIPermissionManager messages
|
||||||
AddPermission(Permission permission);
|
async AddPermission(Permission permission);
|
||||||
|
|
||||||
ScreenSizeChanged(IntSize size);
|
async ScreenSizeChanged(IntSize size);
|
||||||
|
|
||||||
Volumes(VolumeInfo[] volumes);
|
async Volumes(VolumeInfo[] volumes);
|
||||||
|
|
||||||
FlushMemory(nsString reason);
|
async FlushMemory(nsString reason);
|
||||||
|
|
||||||
GarbageCollect();
|
async GarbageCollect();
|
||||||
CycleCollect();
|
async CycleCollect();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start accessibility engine in content process.
|
* Start accessibility engine in content process.
|
||||||
*/
|
*/
|
||||||
ActivateA11y();
|
async ActivateA11y();
|
||||||
|
|
||||||
AppInfo(nsCString version, nsCString buildID, nsCString name, nsCString UAName,
|
async AppInfo(nsCString version, nsCString buildID, nsCString name, nsCString UAName,
|
||||||
nsCString ID, nsCString vendor);
|
nsCString ID, nsCString vendor);
|
||||||
AppInit();
|
async AppInit();
|
||||||
|
|
||||||
// Notify child that last-pb-context-exited notification was observed
|
// Notify child that last-pb-context-exited notification was observed
|
||||||
LastPrivateDocShellDestroyed();
|
async LastPrivateDocShellDestroyed();
|
||||||
|
|
||||||
FilePathUpdate(nsString storageType, nsString storageName, nsString filepath,
|
async FilePathUpdate(nsString storageType, nsString storageName, nsString filepath,
|
||||||
nsCString reasons);
|
nsCString reasons);
|
||||||
|
|
||||||
// Note: Any changes to this structure should also be changed in
|
// Note: Any changes to this structure should also be changed in
|
||||||
// VolumeInfo above.
|
// VolumeInfo above.
|
||||||
FileSystemUpdate(nsString fsName, nsString mountPoint, int32_t fsState,
|
async FileSystemUpdate(nsString fsName, nsString mountPoint, int32_t fsState,
|
||||||
int32_t mountGeneration, bool isMediaPresent,
|
int32_t mountGeneration, bool isMediaPresent,
|
||||||
bool isSharing, bool isFormatting, bool isFake,
|
bool isSharing, bool isFormatting, bool isFake,
|
||||||
bool isUnmounting, bool isRemovable, bool isHotSwappable);
|
bool isUnmounting, bool isRemovable, bool isHotSwappable);
|
||||||
|
|
||||||
// Notify volume is removed.
|
// Notify volume is removed.
|
||||||
VolumeRemoved(nsString fsName);
|
async VolumeRemoved(nsString fsName);
|
||||||
|
|
||||||
NotifyProcessPriorityChanged(ProcessPriority priority);
|
async NotifyProcessPriorityChanged(ProcessPriority priority);
|
||||||
MinimizeMemoryUsage();
|
async MinimizeMemoryUsage();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to manage nsIStyleSheetService across processes.
|
* Used to manage nsIStyleSheetService across processes.
|
||||||
@ -646,17 +646,17 @@ child:
|
|||||||
async LoadAndRegisterSheet(URIParams uri, uint32_t type);
|
async LoadAndRegisterSheet(URIParams uri, uint32_t type);
|
||||||
async UnregisterSheet(URIParams uri, uint32_t type);
|
async UnregisterSheet(URIParams uri, uint32_t type);
|
||||||
|
|
||||||
NotifyPhoneStateChange(nsString newState);
|
async NotifyPhoneStateChange(nsString newState);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify idle observers in the child
|
* Notify idle observers in the child
|
||||||
*/
|
*/
|
||||||
NotifyIdleObserver(uint64_t observerId, nsCString topic, nsString str);
|
async NotifyIdleObserver(uint64_t observerId, nsCString topic, nsString str);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify windows in the child to apply a new app style.
|
* Notify windows in the child to apply a new app style.
|
||||||
*/
|
*/
|
||||||
OnAppThemeChanged();
|
async OnAppThemeChanged();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called during plugin initialization to map a plugin id to a child process
|
* Called during plugin initialization to map a plugin id to a child process
|
||||||
@ -680,9 +680,9 @@ child:
|
|||||||
|
|
||||||
async GatherProfile();
|
async GatherProfile();
|
||||||
|
|
||||||
InvokeDragSession(IPCDataTransfer[] transfers, uint32_t action);
|
async InvokeDragSession(IPCDataTransfer[] transfers, uint32_t action);
|
||||||
|
|
||||||
EndDragSession(bool aDoneDrag, bool aUserCancelled);
|
async EndDragSession(bool aDoneDrag, bool aUserCancelled);
|
||||||
|
|
||||||
async DomainSetChanged(uint32_t aSetType, uint32_t aChangeType, OptionalURIParams aDomain);
|
async DomainSetChanged(uint32_t aSetType, uint32_t aChangeType, OptionalURIParams aDomain);
|
||||||
|
|
||||||
@ -703,7 +703,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Send gamepad status update to child.
|
* Send gamepad status update to child.
|
||||||
*/
|
*/
|
||||||
GamepadUpdate(GamepadChangeEvent aGamepadEvent);
|
async GamepadUpdate(GamepadChangeEvent aGamepadEvent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the child that for testing purposes, a graphics device reset has
|
* Tell the child that for testing purposes, a graphics device reset has
|
||||||
@ -731,17 +731,17 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Send a `push` event without data to a service worker in the child.
|
* Send a `push` event without data to a service worker in the child.
|
||||||
*/
|
*/
|
||||||
Push(nsCString scope, Principal principal);
|
async Push(nsCString scope, Principal principal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send a `push` event with data to a service worker in the child.
|
* Send a `push` event with data to a service worker in the child.
|
||||||
*/
|
*/
|
||||||
PushWithData(nsCString scope, Principal principal, uint8_t[] data);
|
async PushWithData(nsCString scope, Principal principal, uint8_t[] data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send a `pushsubscriptionchange` event to a service worker in the child.
|
* Send a `pushsubscriptionchange` event to a service worker in the child.
|
||||||
*/
|
*/
|
||||||
PushSubscriptionChange(nsCString scope, Principal principal);
|
async PushSubscriptionChange(nsCString scope, Principal principal);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
@ -814,10 +814,10 @@ parent:
|
|||||||
|
|
||||||
async PJavaScript();
|
async PJavaScript();
|
||||||
|
|
||||||
PRemoteSpellcheckEngine();
|
async PRemoteSpellcheckEngine();
|
||||||
PDeviceStorageRequest(DeviceStorageParams params);
|
async PDeviceStorageRequest(DeviceStorageParams params);
|
||||||
|
|
||||||
PFileSystemRequest(FileSystemParams params);
|
async PFileSystemRequest(FileSystemParams params);
|
||||||
|
|
||||||
sync PCrashReporter(NativeThreadId tid, uint32_t processType);
|
sync PCrashReporter(NativeThreadId tid, uint32_t processType);
|
||||||
|
|
||||||
@ -838,40 +838,40 @@ parent:
|
|||||||
|
|
||||||
async PHeapSnapshotTempFileHelper();
|
async PHeapSnapshotTempFileHelper();
|
||||||
|
|
||||||
PIcc(uint32_t serviceId);
|
async PIcc(uint32_t serviceId);
|
||||||
|
|
||||||
PMobileConnection(uint32_t clientId);
|
async PMobileConnection(uint32_t clientId);
|
||||||
|
|
||||||
PNecko();
|
async PNecko();
|
||||||
|
|
||||||
PPrinting();
|
async PPrinting();
|
||||||
|
|
||||||
prio(high) sync PScreenManager()
|
prio(high) sync PScreenManager()
|
||||||
returns (uint32_t numberOfScreens,
|
returns (uint32_t numberOfScreens,
|
||||||
float systemDefaultScale,
|
float systemDefaultScale,
|
||||||
bool success);
|
bool success);
|
||||||
|
|
||||||
PCellBroadcast();
|
async PCellBroadcast();
|
||||||
|
|
||||||
PSms();
|
async PSms();
|
||||||
|
|
||||||
PSpeechSynthesis();
|
async PSpeechSynthesis();
|
||||||
|
|
||||||
prio(urgent) async PStorage();
|
prio(urgent) async PStorage();
|
||||||
|
|
||||||
PTelephony();
|
async PTelephony();
|
||||||
|
|
||||||
PVoicemail();
|
async PVoicemail();
|
||||||
|
|
||||||
PMedia();
|
async PMedia();
|
||||||
|
|
||||||
PBluetooth();
|
async PBluetooth();
|
||||||
|
|
||||||
PFMRadio();
|
async PFMRadio();
|
||||||
|
|
||||||
PWebrtcGlobal();
|
async PWebrtcGlobal();
|
||||||
|
|
||||||
PPresentation();
|
async PPresentation();
|
||||||
|
|
||||||
// Services remoting
|
// Services remoting
|
||||||
|
|
||||||
@ -897,44 +897,44 @@ parent:
|
|||||||
CpowEntry[] aCpows, Principal aPrincipal)
|
CpowEntry[] aCpows, Principal aPrincipal)
|
||||||
returns (StructuredCloneData[] retval);
|
returns (StructuredCloneData[] retval);
|
||||||
|
|
||||||
ShowAlert(AlertNotificationType alert);
|
async ShowAlert(AlertNotificationType alert);
|
||||||
|
|
||||||
CloseAlert(nsString name, Principal principal);
|
async CloseAlert(nsString name, Principal principal);
|
||||||
|
|
||||||
DisableNotifications(Principal principal);
|
async DisableNotifications(Principal principal);
|
||||||
|
|
||||||
OpenNotificationSettings(Principal principal);
|
async OpenNotificationSettings(Principal principal);
|
||||||
|
|
||||||
PPSMContentDownloader(uint32_t aCertType);
|
async PPSMContentDownloader(uint32_t aCertType);
|
||||||
|
|
||||||
PExternalHelperApp(OptionalURIParams uri,
|
async PExternalHelperApp(OptionalURIParams uri,
|
||||||
nsCString aMimeContentType,
|
nsCString aMimeContentType,
|
||||||
nsCString aContentDisposition,
|
nsCString aContentDisposition,
|
||||||
uint32_t aContentDispositionHint,
|
uint32_t aContentDispositionHint,
|
||||||
nsString aContentDispositionFilename,
|
nsString aContentDispositionFilename,
|
||||||
bool aForceSave,
|
bool aForceSave,
|
||||||
int64_t aContentLength,
|
int64_t aContentLength,
|
||||||
OptionalURIParams aReferrer,
|
OptionalURIParams aReferrer,
|
||||||
nullable PBrowser aBrowser);
|
nullable PBrowser aBrowser);
|
||||||
|
|
||||||
PHandlerService();
|
async PHandlerService();
|
||||||
|
|
||||||
AddGeolocationListener(Principal principal, bool highAccuracy);
|
async AddGeolocationListener(Principal principal, bool highAccuracy);
|
||||||
RemoveGeolocationListener();
|
async RemoveGeolocationListener();
|
||||||
SetGeolocationHigherAccuracy(bool enable);
|
async SetGeolocationHigherAccuracy(bool enable);
|
||||||
|
|
||||||
ConsoleMessage(nsString message);
|
async ConsoleMessage(nsString message);
|
||||||
ScriptError(nsString message, nsString sourceName, nsString sourceLine,
|
async ScriptError(nsString message, nsString sourceName, nsString sourceLine,
|
||||||
uint32_t lineNumber, uint32_t colNumber, uint32_t flags,
|
uint32_t lineNumber, uint32_t colNumber, uint32_t flags,
|
||||||
nsCString category);
|
nsCString category);
|
||||||
|
|
||||||
// nsIPermissionManager messages
|
// nsIPermissionManager messages
|
||||||
sync ReadPermissions() returns (Permission[] permissions);
|
sync ReadPermissions() returns (Permission[] permissions);
|
||||||
|
|
||||||
// Places the items within dataTransfer on the clipboard.
|
// Places the items within dataTransfer on the clipboard.
|
||||||
SetClipboard(IPCDataTransfer aDataTransfer,
|
async SetClipboard(IPCDataTransfer aDataTransfer,
|
||||||
bool aIsPrivateData,
|
bool aIsPrivateData,
|
||||||
int32_t aWhichClipboard);
|
int32_t aWhichClipboard);
|
||||||
|
|
||||||
// Given a list of supported types, returns the clipboard data for the
|
// Given a list of supported types, returns the clipboard data for the
|
||||||
// first type that matches.
|
// first type that matches.
|
||||||
@ -942,7 +942,7 @@ parent:
|
|||||||
returns (IPCDataTransfer dataTransfer);
|
returns (IPCDataTransfer dataTransfer);
|
||||||
|
|
||||||
// Clears the clipboard.
|
// Clears the clipboard.
|
||||||
EmptyClipboard(int32_t aWhichClipboard);
|
async EmptyClipboard(int32_t aWhichClipboard);
|
||||||
|
|
||||||
// Returns true if data of one of the specified types is on the clipboard.
|
// Returns true if data of one of the specified types is on the clipboard.
|
||||||
sync ClipboardHasType(nsCString[] aTypes, int32_t aWhichClipboard)
|
sync ClipboardHasType(nsCString[] aTypes, int32_t aWhichClipboard)
|
||||||
@ -958,7 +958,7 @@ parent:
|
|||||||
returns (bool showPassword);
|
returns (bool showPassword);
|
||||||
|
|
||||||
// Notify the parent of the presence or absence of private docshells
|
// Notify the parent of the presence or absence of private docshells
|
||||||
PrivateDocShellsExist(bool aExist);
|
async PrivateDocShellsExist(bool aExist);
|
||||||
|
|
||||||
// Tell the parent that the child has gone idle for the first time
|
// Tell the parent that the child has gone idle for the first time
|
||||||
async FirstIdle();
|
async FirstIdle();
|
||||||
@ -1020,8 +1020,8 @@ parent:
|
|||||||
sync BeginDriverCrashGuard(uint32_t aGuardType) returns (bool crashDetected);
|
sync BeginDriverCrashGuard(uint32_t aGuardType) returns (bool crashDetected);
|
||||||
sync EndDriverCrashGuard(uint32_t aGuardType);
|
sync EndDriverCrashGuard(uint32_t aGuardType);
|
||||||
|
|
||||||
AddIdleObserver(uint64_t observerId, uint32_t idleTimeInS);
|
async AddIdleObserver(uint64_t observerId, uint32_t idleTimeInS);
|
||||||
RemoveIdleObserver(uint64_t observerId, uint32_t idleTimeInS);
|
async RemoveIdleObserver(uint64_t observerId, uint32_t idleTimeInS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This message is only used on X11 platforms.
|
* This message is only used on X11 platforms.
|
||||||
@ -1034,7 +1034,7 @@ parent:
|
|||||||
* crashes *just before* a repaint and the parent process tries to
|
* crashes *just before* a repaint and the parent process tries to
|
||||||
* use the newly-invalid surface.
|
* use the newly-invalid surface.
|
||||||
*/
|
*/
|
||||||
BackUpXResources(FileDescriptor aXSocketFd);
|
async BackUpXResources(FileDescriptor aXSocketFd);
|
||||||
|
|
||||||
sync OpenAnonymousTemporaryFile() returns (FileDescOrError aFD);
|
sync OpenAnonymousTemporaryFile() returns (FileDescOrError aFD);
|
||||||
|
|
||||||
@ -1056,7 +1056,7 @@ parent:
|
|||||||
returns (nsString aAttribute, nsString[] aContent);
|
returns (nsString aAttribute, nsString[] aContent);
|
||||||
|
|
||||||
// Use only for testing!
|
// Use only for testing!
|
||||||
FlushPendingFileDeletions();
|
async FlushPendingFileDeletions();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell the chrome process there is an creation of PBrowser.
|
* Tell the chrome process there is an creation of PBrowser.
|
||||||
@ -1099,15 +1099,15 @@ parent:
|
|||||||
* @param tabId
|
* @param tabId
|
||||||
* To identify which tab owns the app.
|
* To identify which tab owns the app.
|
||||||
*/
|
*/
|
||||||
POfflineCacheUpdate(URIParams manifestURI, URIParams documentURI,
|
async POfflineCacheUpdate(URIParams manifestURI, URIParams documentURI,
|
||||||
PrincipalInfo loadingPrincipal, bool stickDocument);
|
PrincipalInfo loadingPrincipal, bool stickDocument);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets "offline-app" permission for the principal. Called when we hit
|
* Sets "offline-app" permission for the principal. Called when we hit
|
||||||
* a web app with the manifest attribute in <html> and
|
* a web app with the manifest attribute in <html> and
|
||||||
* offline-apps.allow_by_default is set to true.
|
* offline-apps.allow_by_default is set to true.
|
||||||
*/
|
*/
|
||||||
SetOfflinePermission(Principal principal);
|
async SetOfflinePermission(Principal principal);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies the parent to continue shutting down after the child performs
|
* Notifies the parent to continue shutting down after the child performs
|
||||||
@ -1115,7 +1115,7 @@ parent:
|
|||||||
*/
|
*/
|
||||||
async FinishShutdown();
|
async FinishShutdown();
|
||||||
|
|
||||||
UpdateDropEffect(uint32_t aDragAction, uint32_t aDropEffect);
|
async UpdateDropEffect(uint32_t aDragAction, uint32_t aDropEffect);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initiates an asynchronous request for permission for the
|
* Initiates an asynchronous request for permission for the
|
||||||
@ -1132,8 +1132,8 @@ parent:
|
|||||||
* principals that can live in the content process should
|
* principals that can live in the content process should
|
||||||
* provided.
|
* provided.
|
||||||
*/
|
*/
|
||||||
PContentPermissionRequest(PermissionRequest[] aRequests, Principal aPrincipal,
|
async PContentPermissionRequest(PermissionRequest[] aRequests, Principal aPrincipal,
|
||||||
TabId tabId);
|
TabId tabId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send ServiceWorkerRegistrationData to child process.
|
* Send ServiceWorkerRegistrationData to child process.
|
||||||
@ -1144,12 +1144,12 @@ parent:
|
|||||||
/*
|
/*
|
||||||
* Tells the parent to start the gamepad listening service if it hasn't already.
|
* Tells the parent to start the gamepad listening service if it hasn't already.
|
||||||
*/
|
*/
|
||||||
GamepadListenerAdded();
|
async GamepadListenerAdded();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tells the parent to stop the gamepad listening service if it hasn't already.
|
* Tells the parent to stop the gamepad listening service if it hasn't already.
|
||||||
*/
|
*/
|
||||||
GamepadListenerRemoved();
|
async GamepadListenerRemoved();
|
||||||
|
|
||||||
async Profile(nsCString aProfile);
|
async Profile(nsCString aProfile);
|
||||||
|
|
||||||
@ -1191,8 +1191,8 @@ parent:
|
|||||||
*/
|
*/
|
||||||
sync UngrabPointer(uint32_t time);
|
sync UngrabPointer(uint32_t time);
|
||||||
both:
|
both:
|
||||||
AsyncMessage(nsString aMessage, ClonedMessageData aData,
|
async AsyncMessage(nsString aMessage, ClonedMessageData aData,
|
||||||
CpowEntry[] aCpows, Principal aPrincipal);
|
CpowEntry[] aCpows, Principal aPrincipal);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -51,8 +51,8 @@ both:
|
|||||||
|
|
||||||
async PBlob(BlobConstructorParams params);
|
async PBlob(BlobConstructorParams params);
|
||||||
|
|
||||||
AsyncMessage(nsString aMessage, ClonedMessageData aData,
|
async AsyncMessage(nsString aMessage, ClonedMessageData aData,
|
||||||
CpowEntry[] aCpows, Principal aPrincipal);
|
CpowEntry[] aCpows, Principal aPrincipal);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ protocol PContentDialog
|
|||||||
manager PBrowser;
|
manager PBrowser;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(int32_t[] aIntParams, nsString[] aStringParams);
|
async __delete__(int32_t[] aIntParams, nsString[] aStringParams);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -13,14 +13,14 @@ protocol PContentPermissionRequest
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
prompt();
|
async prompt();
|
||||||
NotifyVisibility(bool visibility);
|
async NotifyVisibility(bool visibility);
|
||||||
Destroy();
|
async Destroy();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
GetVisibility();
|
async GetVisibility();
|
||||||
NotifyResult(bool allow, PermissionChoice[] choices);
|
async NotifyResult(bool allow, PermissionChoice[] choices);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,9 +22,9 @@ struct Mapping {
|
|||||||
async protocol PCrashReporter {
|
async protocol PCrashReporter {
|
||||||
manager PContent or PPluginModule or PGMP;
|
manager PContent or PPluginModule or PGMP;
|
||||||
parent:
|
parent:
|
||||||
AnnotateCrashReport(nsCString key, nsCString data);
|
async AnnotateCrashReport(nsCString key, nsCString data);
|
||||||
AppendAppNotes(nsCString data);
|
async AppendAppNotes(nsCString data);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,10 +12,10 @@ protocol PCycleCollectWithLogs {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
CloseGCLog();
|
async CloseGCLog();
|
||||||
CloseCCLog();
|
async CloseCCLog();
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ protocol PDocumentRenderer
|
|||||||
|
|
||||||
parent:
|
parent:
|
||||||
// Returns the width and height, in pixels, of the returned ARGB32 data.
|
// Returns the width and height, in pixels, of the returned ARGB32 data.
|
||||||
__delete__(nsIntSize renderedSize, nsCString data);
|
async __delete__(nsIntSize renderedSize, nsCString data);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ipc
|
} // namespace ipc
|
||||||
|
@ -28,12 +28,12 @@ protocol PFilePicker
|
|||||||
manager PBrowser;
|
manager PBrowser;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Open(int16_t selectedType, bool addToRecentDocs, nsString defaultFile,
|
async Open(int16_t selectedType, bool addToRecentDocs, nsString defaultFile,
|
||||||
nsString defaultExtension, nsString[] filters, nsString[] filterNames,
|
nsString defaultExtension, nsString[] filters, nsString[] filterNames,
|
||||||
nsString displayDirectory);
|
nsString displayDirectory);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(MaybeInputFiles files, int16_t result);
|
async __delete__(MaybeInputFiles files, int16_t result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -21,8 +21,8 @@ protocol PMemoryReportRequest {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Report(MemoryReport aReport);
|
async Report(MemoryReport aReport);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ parent:
|
|||||||
bool success);
|
bool success);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -18,18 +18,18 @@ async protocol PGMPAudioDecoder
|
|||||||
{
|
{
|
||||||
manager PGMPContent;
|
manager PGMPContent;
|
||||||
child:
|
child:
|
||||||
InitDecode(GMPAudioCodecData aCodecSettings);
|
async InitDecode(GMPAudioCodecData aCodecSettings);
|
||||||
Decode(GMPAudioEncodedSampleData aInput);
|
async Decode(GMPAudioEncodedSampleData aInput);
|
||||||
Reset();
|
async Reset();
|
||||||
Drain();
|
async Drain();
|
||||||
DecodingComplete();
|
async DecodingComplete();
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
Decoded(GMPAudioDecodedSampleData aDecoded);
|
async Decoded(GMPAudioDecodedSampleData aDecoded);
|
||||||
InputDataExhausted();
|
async InputDataExhausted();
|
||||||
DrainComplete();
|
async DrainComplete();
|
||||||
ResetComplete();
|
async ResetComplete();
|
||||||
Error(GMPErr aErr);
|
async Error(GMPErr aErr);
|
||||||
async Shutdown();
|
async Shutdown();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,70 +20,70 @@ async protocol PGMPDecryptor
|
|||||||
manager PGMPContent;
|
manager PGMPContent;
|
||||||
child:
|
child:
|
||||||
|
|
||||||
Init();
|
async Init();
|
||||||
|
|
||||||
CreateSession(uint32_t aCreateSessionToken,
|
async CreateSession(uint32_t aCreateSessionToken,
|
||||||
uint32_t aPromiseId,
|
uint32_t aPromiseId,
|
||||||
nsCString aInitDataType,
|
nsCString aInitDataType,
|
||||||
uint8_t[] aInitData,
|
uint8_t[] aInitData,
|
||||||
GMPSessionType aSessionType);
|
GMPSessionType aSessionType);
|
||||||
|
|
||||||
LoadSession(uint32_t aPromiseId,
|
async LoadSession(uint32_t aPromiseId,
|
||||||
nsCString aSessionId);
|
nsCString aSessionId);
|
||||||
|
|
||||||
UpdateSession(uint32_t aPromiseId,
|
async UpdateSession(uint32_t aPromiseId,
|
||||||
nsCString aSessionId,
|
nsCString aSessionId,
|
||||||
uint8_t[] aResponse);
|
uint8_t[] aResponse);
|
||||||
|
|
||||||
CloseSession(uint32_t aPromiseId,
|
async CloseSession(uint32_t aPromiseId,
|
||||||
nsCString aSessionId);
|
nsCString aSessionId);
|
||||||
|
|
||||||
RemoveSession(uint32_t aPromiseId,
|
async RemoveSession(uint32_t aPromiseId,
|
||||||
nsCString aSessionId);
|
nsCString aSessionId);
|
||||||
|
|
||||||
SetServerCertificate(uint32_t aPromiseId,
|
async SetServerCertificate(uint32_t aPromiseId,
|
||||||
uint8_t[] aServerCert);
|
uint8_t[] aServerCert);
|
||||||
|
|
||||||
Decrypt(uint32_t aId,
|
async Decrypt(uint32_t aId,
|
||||||
uint8_t[] aBuffer,
|
uint8_t[] aBuffer,
|
||||||
GMPDecryptionData aMetadata);
|
GMPDecryptionData aMetadata);
|
||||||
|
|
||||||
DecryptingComplete();
|
async DecryptingComplete();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
SetSessionId(uint32_t aCreateSessionToken,
|
async SetSessionId(uint32_t aCreateSessionToken,
|
||||||
nsCString aSessionId);
|
nsCString aSessionId);
|
||||||
|
|
||||||
ResolveLoadSessionPromise(uint32_t aPromiseId,
|
async ResolveLoadSessionPromise(uint32_t aPromiseId,
|
||||||
bool aSuccess);
|
bool aSuccess);
|
||||||
|
|
||||||
ResolvePromise(uint32_t aPromiseId);
|
async ResolvePromise(uint32_t aPromiseId);
|
||||||
|
|
||||||
RejectPromise(uint32_t aPromiseId,
|
async RejectPromise(uint32_t aPromiseId,
|
||||||
GMPDOMException aDOMExceptionCode,
|
GMPDOMException aDOMExceptionCode,
|
||||||
nsCString aMessage);
|
nsCString aMessage);
|
||||||
|
|
||||||
SessionMessage(nsCString aSessionId,
|
async SessionMessage(nsCString aSessionId,
|
||||||
GMPSessionMessageType aMessageType,
|
GMPSessionMessageType aMessageType,
|
||||||
uint8_t[] aMessage);
|
uint8_t[] aMessage);
|
||||||
|
|
||||||
ExpirationChange(nsCString aSessionId, double aExpiryTime);
|
async ExpirationChange(nsCString aSessionId, double aExpiryTime);
|
||||||
|
|
||||||
SessionClosed(nsCString aSessionId);
|
async SessionClosed(nsCString aSessionId);
|
||||||
|
|
||||||
SessionError(nsCString aSessionId,
|
async SessionError(nsCString aSessionId,
|
||||||
GMPDOMException aDOMExceptionCode,
|
GMPDOMException aDOMExceptionCode,
|
||||||
uint32_t aSystemCode,
|
uint32_t aSystemCode,
|
||||||
nsCString aMessage);
|
nsCString aMessage);
|
||||||
|
|
||||||
KeyStatusChanged(nsCString aSessionId, uint8_t[] aKey,
|
async KeyStatusChanged(nsCString aSessionId, uint8_t[] aKey,
|
||||||
GMPMediaKeyStatus aStatus);
|
GMPMediaKeyStatus aStatus);
|
||||||
|
|
||||||
SetCaps(uint64_t aCaps);
|
async SetCaps(uint64_t aCaps);
|
||||||
|
|
||||||
Decrypted(uint32_t aId, GMPErr aResult, uint8_t[] aBuffer);
|
async Decrypted(uint32_t aId, GMPErr aResult, uint8_t[] aBuffer);
|
||||||
|
|
||||||
async Shutdown();
|
async Shutdown();
|
||||||
};
|
};
|
||||||
|
@ -16,19 +16,19 @@ async protocol PGMPStorage
|
|||||||
manager PGMP;
|
manager PGMP;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
OpenComplete(nsCString aRecordName, GMPErr aStatus);
|
async OpenComplete(nsCString aRecordName, GMPErr aStatus);
|
||||||
ReadComplete(nsCString aRecordName, GMPErr aStatus, uint8_t[] aBytes);
|
async ReadComplete(nsCString aRecordName, GMPErr aStatus, uint8_t[] aBytes);
|
||||||
WriteComplete(nsCString aRecordName, GMPErr aStatus);
|
async WriteComplete(nsCString aRecordName, GMPErr aStatus);
|
||||||
RecordNames(nsCString[] aRecordNames, GMPErr aStatus);
|
async RecordNames(nsCString[] aRecordNames, GMPErr aStatus);
|
||||||
Shutdown();
|
async Shutdown();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Open(nsCString aRecordName);
|
async Open(nsCString aRecordName);
|
||||||
Read(nsCString aRecordName);
|
async Read(nsCString aRecordName);
|
||||||
Write(nsCString aRecordName, uint8_t[] aBytes);
|
async Write(nsCString aRecordName, uint8_t[] aBytes);
|
||||||
Close(nsCString aRecordName);
|
async Close(nsCString aRecordName);
|
||||||
GetRecordNames();
|
async GetRecordNames();
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,10 +12,10 @@ async protocol PGMPTimer
|
|||||||
{
|
{
|
||||||
manager PGMP;
|
manager PGMP;
|
||||||
child:
|
child:
|
||||||
TimerExpired(uint32_t aTimerId);
|
async TimerExpired(uint32_t aTimerId);
|
||||||
parent:
|
parent:
|
||||||
SetTimer(uint32_t aTimerId, uint32_t aTimeoutMs);
|
async SetTimer(uint32_t aTimerId, uint32_t aTimeoutMs);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace gmp
|
} // namespace gmp
|
||||||
|
@ -28,8 +28,8 @@ parent:
|
|||||||
* from a secondary pool that is never persisted to disk, and aPersist is
|
* from a secondary pool that is never persisted to disk, and aPersist is
|
||||||
* ignored.
|
* ignored.
|
||||||
*/
|
*/
|
||||||
GetOriginKey(uint32_t aRequestId, nsCString aOrigin, bool aPrivateBrowsing,
|
async GetOriginKey(uint32_t aRequestId, nsCString aOrigin, bool aPrivateBrowsing,
|
||||||
bool aPersist);
|
bool aPersist);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear per-orgin list of persistent deviceIds stored for enumerateDevices
|
* Clear per-orgin list of persistent deviceIds stored for enumerateDevices
|
||||||
@ -40,11 +40,11 @@ parent:
|
|||||||
* aOnlyPrivateBrowsing - if true then only purge the separate in-memory
|
* aOnlyPrivateBrowsing - if true then only purge the separate in-memory
|
||||||
* per-origin list used in Private Browsing.
|
* per-origin list used in Private Browsing.
|
||||||
*/
|
*/
|
||||||
SanitizeOriginKeys(uint64_t aSinceWhen, bool aOnlyPrivateBrowsing);
|
async SanitizeOriginKeys(uint64_t aSinceWhen, bool aOnlyPrivateBrowsing);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
GetOriginKeyResponse(uint32_t aRequestId, nsCString key);
|
async GetOriginKeyResponse(uint32_t aRequestId, nsCString key);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace media
|
} // namespace media
|
||||||
|
@ -16,17 +16,17 @@ async protocol PWebrtcGlobal {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
child: // parent -> child messages
|
child: // parent -> child messages
|
||||||
GetStatsRequest(int aRequestId, nsString aPcIdFilter);
|
async GetStatsRequest(int aRequestId, nsString aPcIdFilter);
|
||||||
ClearStatsRequest();
|
async ClearStatsRequest();
|
||||||
GetLogRequest(int aRequestId, nsCString aPattern);
|
async GetLogRequest(int aRequestId, nsCString aPattern);
|
||||||
ClearLogRequest();
|
async ClearLogRequest();
|
||||||
SetAecLogging(bool aEnable);
|
async SetAecLogging(bool aEnable);
|
||||||
SetDebugMode(int aLevel);
|
async SetDebugMode(int aLevel);
|
||||||
|
|
||||||
parent: // child -> parent messages
|
parent: // child -> parent messages
|
||||||
GetStatsResult(int aRequestId, RTCStatsReportInternal[] aStats);
|
async GetStatsResult(int aRequestId, RTCStatsReportInternal[] aStats);
|
||||||
GetLogResult(int aRequestId, WebrtcGlobalLog aLog);
|
async GetLogResult(int aRequestId, WebrtcGlobalLog aLog);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace net
|
} // end namespace net
|
||||||
|
@ -25,19 +25,19 @@ sync protocol PSpeechSynthesis
|
|||||||
|
|
||||||
child:
|
child:
|
||||||
|
|
||||||
VoiceAdded(RemoteVoice aVoice);
|
async VoiceAdded(RemoteVoice aVoice);
|
||||||
|
|
||||||
VoiceRemoved(nsString aUri);
|
async VoiceRemoved(nsString aUri);
|
||||||
|
|
||||||
SetDefaultVoice(nsString aUri, bool aIsDefault);
|
async SetDefaultVoice(nsString aUri, bool aIsDefault);
|
||||||
|
|
||||||
IsSpeakingChanged(bool aIsSpeaking);
|
async IsSpeakingChanged(bool aIsSpeaking);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
PSpeechSynthesisRequest(nsString aText, nsString aUri, nsString aLang,
|
async PSpeechSynthesisRequest(nsString aText, nsString aUri, nsString aLang,
|
||||||
float aVolume, float aRate, float aPitch);
|
float aVolume, float aRate, float aPitch);
|
||||||
|
|
||||||
sync ReadVoicesAndState() returns (RemoteVoice[] aVoices,
|
sync ReadVoicesAndState() returns (RemoteVoice[] aVoices,
|
||||||
nsString[] aDefaults, bool aIsSpeaking);
|
nsString[] aDefaults, bool aIsSpeaking);
|
||||||
|
@ -15,31 +15,31 @@ async protocol PSpeechSynthesisRequest
|
|||||||
|
|
||||||
parent:
|
parent:
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
Pause();
|
async Pause();
|
||||||
|
|
||||||
Resume();
|
async Resume();
|
||||||
|
|
||||||
Cancel();
|
async Cancel();
|
||||||
|
|
||||||
ForceEnd();
|
async ForceEnd();
|
||||||
|
|
||||||
SetAudioOutputVolume(float aVolume);
|
async SetAudioOutputVolume(float aVolume);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
|
|
||||||
OnEnd(bool aIsError, float aElapsedTime, uint32_t aCharIndex);
|
async OnEnd(bool aIsError, float aElapsedTime, uint32_t aCharIndex);
|
||||||
|
|
||||||
OnStart(nsString aUri);
|
async OnStart(nsString aUri);
|
||||||
|
|
||||||
OnPause(float aElapsedTime, uint32_t aCharIndex);
|
async OnPause(float aElapsedTime, uint32_t aCharIndex);
|
||||||
|
|
||||||
OnResume(float aElapsedTime, uint32_t aCharIndex);
|
async OnResume(float aElapsedTime, uint32_t aCharIndex);
|
||||||
|
|
||||||
OnBoundary(nsString aName, float aElapsedTime, uint32_t aCharIndex);
|
async OnBoundary(nsString aName, float aElapsedTime, uint32_t aCharIndex);
|
||||||
|
|
||||||
OnMark(nsString aName, float aElapsedTime, uint32_t aCharIndex);
|
async OnMark(nsString aName, float aElapsedTime, uint32_t aCharIndex);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -44,17 +44,17 @@ protocol PMessagePort
|
|||||||
4. Recv__delete__(); */
|
4. Recv__delete__(); */
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PostMessages(MessagePortMessage[] messages);
|
async PostMessages(MessagePortMessage[] messages);
|
||||||
Disentangle(MessagePortMessage[] messages);
|
async Disentangle(MessagePortMessage[] messages);
|
||||||
StopSendingData();
|
async StopSendingData();
|
||||||
Close();
|
async Close();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Entangled(MessagePortMessage[] messages);
|
async Entangled(MessagePortMessage[] messages);
|
||||||
ReceiveData(MessagePortMessage[] messages);
|
async ReceiveData(MessagePortMessage[] messages);
|
||||||
StopSendingDataConfirmed();
|
async StopSendingDataConfirmed();
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -18,29 +18,29 @@ sync protocol PMobileConnection
|
|||||||
manages PMobileConnectionRequest;
|
manages PMobileConnectionRequest;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyVoiceInfoChanged(nsMobileConnectionInfo aInfo);
|
async NotifyVoiceInfoChanged(nsMobileConnectionInfo aInfo);
|
||||||
NotifyDataInfoChanged(nsMobileConnectionInfo aInfo);
|
async NotifyDataInfoChanged(nsMobileConnectionInfo aInfo);
|
||||||
NotifyDataError(nsString aMessage);
|
async NotifyDataError(nsString aMessage);
|
||||||
NotifyCFStateChanged(uint16_t aAction, uint16_t aReason, nsString aNumber,
|
async NotifyCFStateChanged(uint16_t aAction, uint16_t aReason, nsString aNumber,
|
||||||
uint16_t aTimeSeconds, uint16_t aServiceClass);
|
uint16_t aTimeSeconds, uint16_t aServiceClass);
|
||||||
NotifyEmergencyCbModeChanged(bool aActive, uint32_t aTimeoutMs);
|
async NotifyEmergencyCbModeChanged(bool aActive, uint32_t aTimeoutMs);
|
||||||
NotifyOtaStatusChanged(nsString aStatus);
|
async NotifyOtaStatusChanged(nsString aStatus);
|
||||||
NotifyRadioStateChanged(int32_t aRadioState);
|
async NotifyRadioStateChanged(int32_t aRadioState);
|
||||||
NotifyClirModeChanged(uint32_t aMode);
|
async NotifyClirModeChanged(uint32_t aMode);
|
||||||
NotifyLastNetworkChanged(nsString aNetwork);
|
async NotifyLastNetworkChanged(nsString aNetwork);
|
||||||
NotifyLastHomeNetworkChanged(nsString aNetwork);
|
async NotifyLastHomeNetworkChanged(nsString aNetwork);
|
||||||
NotifyNetworkSelectionModeChanged(int32_t aMode);
|
async NotifyNetworkSelectionModeChanged(int32_t aMode);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Send when child no longer needs to use PMobileConnection.
|
* Send when child no longer needs to use PMobileConnection.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous request to the parent.
|
* Sent when the child makes an asynchronous request to the parent.
|
||||||
*/
|
*/
|
||||||
PMobileConnectionRequest(MobileConnectionRequest aRequest);
|
async PMobileConnectionRequest(MobileConnectionRequest aRequest);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sync call only be called once per child actor for initialization.
|
* Sync call only be called once per child actor for initialization.
|
||||||
|
@ -19,7 +19,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Send when asynchronous request has completed.
|
* Send when asynchronous request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(MobileConnectionReply aResponse);
|
async __delete__(MobileConnectionReply aResponse);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -17,15 +17,15 @@ protocol PMobileMessageCursor
|
|||||||
manager PSms;
|
manager PSms;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyResult(MobileMessageCursorData aData);
|
async NotifyResult(MobileMessageCursorData aData);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the asynchronous cursor request has completed.
|
* Sent when the asynchronous cursor request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(int32_t aError);
|
async __delete__(int32_t aError);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Continue();
|
async Continue();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mobilemessage
|
} // namespace mobilemessage
|
||||||
|
@ -111,46 +111,46 @@ sync protocol PSms {
|
|||||||
manages PMobileMessageCursor;
|
manages PMobileMessageCursor;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyReceivedMessage(MobileMessageData aMessageData);
|
async NotifyReceivedMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyRetrievingMessage(MobileMessageData aMessageData);
|
async NotifyRetrievingMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifySendingMessage(MobileMessageData aMessageData);
|
async NotifySendingMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifySentMessage(MobileMessageData aMessageData);
|
async NotifySentMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyFailedMessage(MobileMessageData aMessageData);
|
async NotifyFailedMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyDeliverySuccessMessage(MobileMessageData aMessageData);
|
async NotifyDeliverySuccessMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyDeliveryErrorMessage(MobileMessageData aMessageData);
|
async NotifyDeliveryErrorMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyReceivedSilentMessage(MobileMessageData aMessageData);
|
async NotifyReceivedSilentMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyReadSuccessMessage(MobileMessageData aMessageData);
|
async NotifyReadSuccessMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyReadErrorMessage(MobileMessageData aMessageData);
|
async NotifyReadErrorMessage(MobileMessageData aMessageData);
|
||||||
|
|
||||||
NotifyDeletedMessageInfo(DeletedMessageInfoData aDeletedInfo);
|
async NotifyDeletedMessageInfo(DeletedMessageInfoData aDeletedInfo);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to use sms.
|
* Sent when the child no longer needs to use sms.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous request to the parent.
|
* Sent when the child makes an asynchronous request to the parent.
|
||||||
*/
|
*/
|
||||||
PSmsRequest(IPCSmsRequest request);
|
async PSmsRequest(IPCSmsRequest request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous cursor to the parent.
|
* Sent when the child makes an asynchronous cursor to the parent.
|
||||||
*/
|
*/
|
||||||
PMobileMessageCursor(IPCMobileMessageCursor request);
|
async PMobileMessageCursor(IPCMobileMessageCursor request);
|
||||||
|
|
||||||
AddSilentNumber(nsString aNumber);
|
async AddSilentNumber(nsString aNumber);
|
||||||
RemoveSilentNumber(nsString aNumber);
|
async RemoveSilentNumber(nsString aNumber);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mobilemessage
|
} // namespace mobilemessage
|
||||||
|
@ -22,7 +22,7 @@ child:
|
|||||||
/**
|
/**
|
||||||
* Sent when the asynchronous request has completed.
|
* Sent when the asynchronous request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(MessageReply response);
|
async __delete__(MessageReply response);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ReplyMessageSend
|
struct ReplyMessageSend
|
||||||
|
@ -19,12 +19,12 @@ protocol PTCPServerSocket
|
|||||||
manager PNecko;
|
manager PNecko;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Close();
|
async Close();
|
||||||
RequestDelete();
|
async RequestDelete();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
CallbackAccept(PTCPSocket socket);
|
async CallbackAccept(PTCPSocket socket);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace net
|
} // namespace net
|
||||||
|
@ -39,42 +39,42 @@ parent:
|
|||||||
// Forward calling to child's open() method to parent, expect TCPOptions
|
// Forward calling to child's open() method to parent, expect TCPOptions
|
||||||
// is expanded to |useSSL| (from TCPOptions.useSecureTransport) and
|
// is expanded to |useSSL| (from TCPOptions.useSecureTransport) and
|
||||||
// |binaryType| (from TCPOption.binaryType).
|
// |binaryType| (from TCPOption.binaryType).
|
||||||
Open(nsString host, uint16_t port, bool useSSL, bool useArrayBuffers);
|
async Open(nsString host, uint16_t port, bool useSSL, bool useArrayBuffers);
|
||||||
|
|
||||||
// Ask parent to open a socket and bind the newly-opened socket to a local
|
// Ask parent to open a socket and bind the newly-opened socket to a local
|
||||||
// address specified in |localAddr| and |localPort|.
|
// address specified in |localAddr| and |localPort|.
|
||||||
OpenBind(nsCString host, uint16_t port,
|
async OpenBind(nsCString host, uint16_t port,
|
||||||
nsCString localAddr, uint16_t localPort,
|
nsCString localAddr, uint16_t localPort,
|
||||||
bool useSSL, bool aUseArrayBuffers);
|
bool useSSL, bool aUseArrayBuffers);
|
||||||
|
|
||||||
// When child's send() is called, this message requrests parent to send
|
// When child's send() is called, this message requrests parent to send
|
||||||
// data and update it's trackingNumber.
|
// data and update it's trackingNumber.
|
||||||
Data(SendableData data, uint32_t trackingNumber);
|
async Data(SendableData data, uint32_t trackingNumber);
|
||||||
|
|
||||||
// Forward calling to child's upgradeToSecure() method to parent.
|
// Forward calling to child's upgradeToSecure() method to parent.
|
||||||
StartTLS();
|
async StartTLS();
|
||||||
|
|
||||||
// Forward calling to child's send() method to parent.
|
// Forward calling to child's send() method to parent.
|
||||||
Suspend();
|
async Suspend();
|
||||||
|
|
||||||
// Forward calling to child's resume() method to parent.
|
// Forward calling to child's resume() method to parent.
|
||||||
Resume();
|
async Resume();
|
||||||
|
|
||||||
// Forward calling to child's close() method to parent.
|
// Forward calling to child's close() method to parent.
|
||||||
Close();
|
async Close();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
// Forward events that are dispatched by parent.
|
// Forward events that are dispatched by parent.
|
||||||
Callback(nsString type, CallbackData data, uint32_t readyState);
|
async Callback(nsString type, CallbackData data, uint32_t readyState);
|
||||||
|
|
||||||
// Update child's bufferedAmount when parent's bufferedAmount is updated.
|
// Update child's bufferedAmount when parent's bufferedAmount is updated.
|
||||||
// trackingNumber is also passed back to child to ensure the bufferedAmount
|
// trackingNumber is also passed back to child to ensure the bufferedAmount
|
||||||
// is corresponding the last call to send().
|
// is corresponding the last call to send().
|
||||||
UpdateBufferedAmount(uint32_t bufferedAmount, uint32_t trackingNumber);
|
async UpdateBufferedAmount(uint32_t bufferedAmount, uint32_t trackingNumber);
|
||||||
|
|
||||||
both:
|
both:
|
||||||
RequestDelete();
|
async RequestDelete();
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,25 +41,25 @@ protocol PUDPSocket
|
|||||||
manager PNecko or PBackground;
|
manager PNecko or PBackground;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Bind(UDPAddressInfo addressInfo, bool addressReuse, bool loopback);
|
async Bind(UDPAddressInfo addressInfo, bool addressReuse, bool loopback);
|
||||||
Connect(UDPAddressInfo addressInfo);
|
async Connect(UDPAddressInfo addressInfo);
|
||||||
|
|
||||||
OutgoingData(UDPData data, UDPSocketAddr addr);
|
async OutgoingData(UDPData data, UDPSocketAddr addr);
|
||||||
|
|
||||||
JoinMulticast(nsCString multicastAddress, nsCString iface);
|
async JoinMulticast(nsCString multicastAddress, nsCString iface);
|
||||||
LeaveMulticast(nsCString multicastAddress, nsCString iface);
|
async LeaveMulticast(nsCString multicastAddress, nsCString iface);
|
||||||
|
|
||||||
Close();
|
async Close();
|
||||||
|
|
||||||
RequestDelete();
|
async RequestDelete();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
CallbackOpened(UDPAddressInfo addressInfo);
|
async CallbackOpened(UDPAddressInfo addressInfo);
|
||||||
CallbackConnected(UDPAddressInfo addressInfo);
|
async CallbackConnected(UDPAddressInfo addressInfo);
|
||||||
CallbackClosed();
|
async CallbackClosed();
|
||||||
CallbackReceivedData(UDPAddressInfo addressInfo, uint8_t[] data);
|
async CallbackReceivedData(UDPAddressInfo addressInfo, uint8_t[] data);
|
||||||
CallbackError(nsCString message, nsCString filename, uint32_t lineNumber);
|
async CallbackError(nsCString message, nsCString filename, uint32_t lineNumber);
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ protocol PPluginBackgroundDestroyer {
|
|||||||
// notification that that the background is stale.
|
// notification that that the background is stale.
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state DESTROYING:
|
state DESTROYING:
|
||||||
recv __delete__;
|
recv __delete__;
|
||||||
|
@ -50,26 +50,26 @@ sync protocol PPresentation
|
|||||||
manages PPresentationRequest;
|
manages PPresentationRequest;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyAvailableChange(bool aAvailable);
|
async NotifyAvailableChange(bool aAvailable);
|
||||||
NotifySessionStateChange(nsString aSessionId, uint16_t aState);
|
async NotifySessionStateChange(nsString aSessionId, uint16_t aState);
|
||||||
NotifyMessage(nsString aSessionId, nsCString aData);
|
async NotifyMessage(nsString aSessionId, nsCString aData);
|
||||||
NotifySessionConnect(uint64_t aWindowId, nsString aSessionId);
|
async NotifySessionConnect(uint64_t aWindowId, nsString aSessionId);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
RegisterAvailabilityHandler();
|
async RegisterAvailabilityHandler();
|
||||||
UnregisterAvailabilityHandler();
|
async UnregisterAvailabilityHandler();
|
||||||
|
|
||||||
RegisterSessionHandler(nsString aSessionId);
|
async RegisterSessionHandler(nsString aSessionId);
|
||||||
UnregisterSessionHandler(nsString aSessionId);
|
async UnregisterSessionHandler(nsString aSessionId);
|
||||||
|
|
||||||
RegisterRespondingHandler(uint64_t aWindowId);
|
async RegisterRespondingHandler(uint64_t aWindowId);
|
||||||
UnregisterRespondingHandler(uint64_t aWindowId);
|
async UnregisterRespondingHandler(uint64_t aWindowId);
|
||||||
|
|
||||||
PPresentationRequest(PresentationIPCRequest aRequest);
|
async PPresentationRequest(PresentationIPCRequest aRequest);
|
||||||
|
|
||||||
NotifyReceiverReady(nsString aSessionId);
|
async NotifyReceiverReady(nsString aSessionId);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -14,7 +14,7 @@ sync protocol PPresentationRequest
|
|||||||
manager PPresentation;
|
manager PPresentation;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(nsresult result);
|
async __delete__(nsresult result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -64,15 +64,15 @@ protocol PQuota
|
|||||||
manages PQuotaUsageRequest;
|
manages PQuotaUsageRequest;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
PQuotaUsageRequest(UsageRequestParams params);
|
async PQuotaUsageRequest(UsageRequestParams params);
|
||||||
|
|
||||||
PQuotaRequest(RequestParams params);
|
async PQuotaRequest(RequestParams params);
|
||||||
|
|
||||||
StartIdleMaintenance();
|
async StartIdleMaintenance();
|
||||||
|
|
||||||
StopIdleMaintenance();
|
async StopIdleMaintenance();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace quota
|
} // namespace quota
|
||||||
|
@ -38,7 +38,7 @@ protocol PQuotaRequest
|
|||||||
manager PQuota;
|
manager PQuota;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(RequestResponse response);
|
async __delete__(RequestResponse response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace quota
|
} // namespace quota
|
||||||
|
@ -25,10 +25,10 @@ protocol PQuotaUsageRequest
|
|||||||
manager PQuota;
|
manager PQuota;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Cancel();
|
async Cancel();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(UsageRequestResponse response);
|
async __delete__(UsageRequestResponse response);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace quota
|
} // namespace quota
|
||||||
|
@ -125,43 +125,43 @@ sync protocol PTelephony {
|
|||||||
manages PTelephonyRequest;
|
manages PTelephonyRequest;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyCallStateChanged(nsTelephonyCallInfo[] aAllInfo);
|
async NotifyCallStateChanged(nsTelephonyCallInfo[] aAllInfo);
|
||||||
|
|
||||||
NotifyCdmaCallWaiting(uint32_t aClientId, IPCCdmaWaitingCallData aData);
|
async NotifyCdmaCallWaiting(uint32_t aClientId, IPCCdmaWaitingCallData aData);
|
||||||
|
|
||||||
NotifyConferenceError(nsString aName, nsString aMessage);
|
async NotifyConferenceError(nsString aName, nsString aMessage);
|
||||||
|
|
||||||
NotifySupplementaryService(uint32_t aClientId, int32_t aCallIndex,
|
async NotifySupplementaryService(uint32_t aClientId, int32_t aCallIndex,
|
||||||
uint16_t aNotification);
|
uint16_t aNotification);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Sent when the child no longer needs to use PTelephony.
|
* Sent when the child no longer needs to use PTelephony.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the child makes an asynchronous request to the parent.
|
* Sent when the child makes an asynchronous request to the parent.
|
||||||
*/
|
*/
|
||||||
PTelephonyRequest(IPCTelephonyRequest request);
|
async PTelephonyRequest(IPCTelephonyRequest request);
|
||||||
|
|
||||||
RegisterListener();
|
async RegisterListener();
|
||||||
|
|
||||||
UnregisterListener();
|
async UnregisterListener();
|
||||||
|
|
||||||
StartTone(uint32_t aClientId, nsString aTone);
|
async StartTone(uint32_t aClientId, nsString aTone);
|
||||||
|
|
||||||
StopTone(uint32_t aClientId);
|
async StopTone(uint32_t aClientId);
|
||||||
|
|
||||||
sync GetMicrophoneMuted()
|
sync GetMicrophoneMuted()
|
||||||
returns (bool aMuted);
|
returns (bool aMuted);
|
||||||
|
|
||||||
SetMicrophoneMuted(bool aMuted);
|
async SetMicrophoneMuted(bool aMuted);
|
||||||
|
|
||||||
sync GetSpeakerEnabled()
|
sync GetSpeakerEnabled()
|
||||||
returns (bool aEnabled);
|
returns (bool aEnabled);
|
||||||
|
|
||||||
SetSpeakerEnabled(bool aEnabled);
|
async SetSpeakerEnabled(bool aEnabled);
|
||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace telephony */
|
} /* namespace telephony */
|
||||||
|
@ -66,14 +66,14 @@ protocol PTelephonyRequest
|
|||||||
manager PTelephony;
|
manager PTelephony;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyEnumerateCallState(nsTelephonyCallInfo aInfo);
|
async NotifyEnumerateCallState(nsTelephonyCallInfo aInfo);
|
||||||
|
|
||||||
NotifyDialMMI(nsString aServiceCode);
|
async NotifyDialMMI(nsString aServiceCode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sent when the asynchronous request has completed.
|
* Sent when the asynchronous request has completed.
|
||||||
*/
|
*/
|
||||||
__delete__(IPCTelephonyResponse aResponse);
|
async __delete__(IPCTelephonyResponse aResponse);
|
||||||
};
|
};
|
||||||
|
|
||||||
} /* namespace telephony */
|
} /* namespace telephony */
|
||||||
|
@ -15,21 +15,21 @@ sync protocol PVoicemail
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyInfoChanged(uint32_t aServiceId,
|
async NotifyInfoChanged(uint32_t aServiceId,
|
||||||
nsString aNumber,
|
nsString aNumber,
|
||||||
nsString aDisplayName);
|
nsString aDisplayName);
|
||||||
|
|
||||||
NotifyStatusChanged(uint32_t aServiceId,
|
async NotifyStatusChanged(uint32_t aServiceId,
|
||||||
bool aHasMessages,
|
bool aHasMessages,
|
||||||
int32_t aMessageCount,
|
int32_t aMessageCount,
|
||||||
nsString aNumber,
|
nsString aNumber,
|
||||||
nsString aDisplayName);
|
nsString aDisplayName);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
/**
|
/**
|
||||||
* Send when child no longer needs to use PVoicemail.
|
* Send when child no longer needs to use PVoicemail.
|
||||||
*/
|
*/
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
sync GetAttributes(uint32_t aServiceId)
|
sync GetAttributes(uint32_t aServiceId)
|
||||||
returns (nsString aNumber,
|
returns (nsString aNumber,
|
||||||
|
@ -17,28 +17,28 @@ protocol PServiceWorkerManager
|
|||||||
manager PBackground;
|
manager PBackground;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Register(ServiceWorkerRegistrationData data);
|
async Register(ServiceWorkerRegistrationData data);
|
||||||
|
|
||||||
Unregister(PrincipalInfo principalInfo, nsString scope);
|
async Unregister(PrincipalInfo principalInfo, nsString scope);
|
||||||
|
|
||||||
PropagateSoftUpdate(PrincipalOriginAttributes originAttributes,
|
async PropagateSoftUpdate(PrincipalOriginAttributes originAttributes,
|
||||||
nsString scope);
|
nsString scope);
|
||||||
PropagateUnregister(PrincipalInfo principalInfo, nsString scope);
|
async PropagateUnregister(PrincipalInfo principalInfo, nsString scope);
|
||||||
|
|
||||||
PropagateRemove(nsCString host);
|
async PropagateRemove(nsCString host);
|
||||||
|
|
||||||
PropagateRemoveAll();
|
async PropagateRemoveAll();
|
||||||
|
|
||||||
Shutdown();
|
async Shutdown();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyRegister(ServiceWorkerRegistrationData data);
|
async NotifyRegister(ServiceWorkerRegistrationData data);
|
||||||
NotifySoftUpdate(PrincipalOriginAttributes originAttributes, nsString scope);
|
async NotifySoftUpdate(PrincipalOriginAttributes originAttributes, nsString scope);
|
||||||
NotifyUnregister(PrincipalInfo principalInfo, nsString scope);
|
async NotifyUnregister(PrincipalInfo principalInfo, nsString scope);
|
||||||
NotifyRemove(nsCString host);
|
async NotifyRemove(nsCString host);
|
||||||
NotifyRemoveAll();
|
async NotifyRemoveAll();
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dom
|
} // namespace dom
|
||||||
|
@ -13,22 +13,22 @@ protocol PPrintProgressDialog
|
|||||||
manager PPrinting;
|
manager PPrinting;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
StateChange(long stateFlags,
|
async StateChange(long stateFlags,
|
||||||
nsresult status);
|
nsresult status);
|
||||||
|
|
||||||
ProgressChange(long curSelfProgress,
|
async ProgressChange(long curSelfProgress,
|
||||||
long maxSelfProgress,
|
long maxSelfProgress,
|
||||||
long curTotalProgress,
|
long curTotalProgress,
|
||||||
long maxTotalProgress);
|
long maxTotalProgress);
|
||||||
|
|
||||||
DocTitleChange(nsString newTitle);
|
async DocTitleChange(nsString newTitle);
|
||||||
|
|
||||||
DocURLChange(nsString newURL);
|
async DocURLChange(nsString newURL);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
DialogOpened();
|
async DialogOpened();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace embedding
|
} // namespace embedding
|
||||||
|
@ -22,7 +22,7 @@ protocol PPrintSettingsDialog
|
|||||||
manager PPrinting;
|
manager PPrinting;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(PrintDataOrNSResult result);
|
async __delete__(PrintDataOrNSResult result);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace embedding
|
} // namespace embedding
|
||||||
|
@ -31,8 +31,8 @@ parent:
|
|||||||
PBrowser browser,
|
PBrowser browser,
|
||||||
PrintData settings);
|
PrintData settings);
|
||||||
|
|
||||||
PPrintProgressDialog();
|
async PPrintProgressDialog();
|
||||||
PPrintSettingsDialog();
|
async PPrintSettingsDialog();
|
||||||
|
|
||||||
sync SavePrintSettings(PrintData settings, bool usePrinterNamePrefix,
|
sync SavePrintSettings(PrintData settings, bool usePrinterNamePrefix,
|
||||||
uint32_t flags)
|
uint32_t flags)
|
||||||
@ -40,7 +40,7 @@ parent:
|
|||||||
|
|
||||||
child:
|
child:
|
||||||
async PRemotePrintJob();
|
async PRemotePrintJob();
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace embedding
|
} // namespace embedding
|
||||||
|
@ -59,19 +59,19 @@ parent:
|
|||||||
// two messages; see also the state transition rules. The message
|
// two messages; see also the state transition rules. The message
|
||||||
// is either a response to the constructor (if it was parent->child)
|
// is either a response to the constructor (if it was parent->child)
|
||||||
// or sent after it (if it was child->parent).
|
// or sent after it (if it was child->parent).
|
||||||
Attributes(WebBrowserPersistDocumentAttrs aAttrs,
|
async Attributes(WebBrowserPersistDocumentAttrs aAttrs,
|
||||||
OptionalInputStreamParams postData,
|
OptionalInputStreamParams postData,
|
||||||
FileDescriptor[] postFiles);
|
FileDescriptor[] postFiles);
|
||||||
InitFailure(nsresult aStatus);
|
async InitFailure(nsresult aStatus);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
SetPersistFlags(uint32_t aNewFlags);
|
async SetPersistFlags(uint32_t aNewFlags);
|
||||||
PWebBrowserPersistResources();
|
async PWebBrowserPersistResources();
|
||||||
PWebBrowserPersistSerialize(WebBrowserPersistURIMap aMap,
|
async PWebBrowserPersistSerialize(WebBrowserPersistURIMap aMap,
|
||||||
nsCString aRequestedContentType,
|
nsCString aRequestedContentType,
|
||||||
uint32_t aEncoderFlags,
|
uint32_t aEncoderFlags,
|
||||||
uint32_t aWrapColumn);
|
uint32_t aWrapColumn);
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state START:
|
state START:
|
||||||
recv Attributes goto MAIN;
|
recv Attributes goto MAIN;
|
||||||
|
@ -12,15 +12,15 @@ protocol PWebBrowserPersistResources {
|
|||||||
manager PWebBrowserPersistDocument;
|
manager PWebBrowserPersistDocument;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
VisitResource(nsCString aURI);
|
async VisitResource(nsCString aURI);
|
||||||
|
|
||||||
// The actor sent here is in the START state; the parent-side
|
// The actor sent here is in the START state; the parent-side
|
||||||
// receiver will have to wait for it to enter the MAIN state
|
// receiver will have to wait for it to enter the MAIN state
|
||||||
// before exposing it with a visitDocument call.
|
// before exposing it with a visitDocument call.
|
||||||
VisitDocument(PWebBrowserPersistDocument aSubDocument);
|
async VisitDocument(PWebBrowserPersistDocument aSubDocument);
|
||||||
|
|
||||||
// This reflects the endVisit method.
|
// This reflects the endVisit method.
|
||||||
__delete__(nsresult aStatus);
|
async __delete__(nsresult aStatus);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mozilla
|
} // namespace mozilla
|
||||||
|
@ -19,11 +19,11 @@ parent:
|
|||||||
// this is at worst just a constant-factor increase in memory usage.
|
// this is at worst just a constant-factor increase in memory usage.
|
||||||
// Also, Chromium does the same thing; see
|
// Also, Chromium does the same thing; see
|
||||||
// content::RenderViewImpl::didSerializeDataForFrame.
|
// content::RenderViewImpl::didSerializeDataForFrame.
|
||||||
WriteData(uint8_t[] aData);
|
async WriteData(uint8_t[] aData);
|
||||||
|
|
||||||
// This is the onFinish method.
|
// This is the onFinish method.
|
||||||
__delete__(nsCString aContentType,
|
async __delete__(nsCString aContentType,
|
||||||
nsresult aStatus);
|
nsresult aStatus);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mozilla
|
} // namespace mozilla
|
||||||
|
@ -10,7 +10,7 @@ sync protocol PRemoteSpellcheckEngine {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
sync Check(nsString aWord) returns (bool aIsMisspelled);
|
sync Check(nsString aWord) returns (bool aIsMisspelled);
|
||||||
|
|
||||||
|
@ -100,83 +100,83 @@ prio(normal upto urgent) sync protocol PHal {
|
|||||||
manager PContent;
|
manager PContent;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifyBatteryChange(BatteryInformation aBatteryInfo);
|
async NotifyBatteryChange(BatteryInformation aBatteryInfo);
|
||||||
NotifyNetworkChange(NetworkInformation aNetworkInfo);
|
async NotifyNetworkChange(NetworkInformation aNetworkInfo);
|
||||||
NotifyWakeLockChange(WakeLockInformation aWakeLockInfo);
|
async NotifyWakeLockChange(WakeLockInformation aWakeLockInfo);
|
||||||
NotifyScreenConfigurationChange(ScreenConfiguration aScreenOrientation);
|
async NotifyScreenConfigurationChange(ScreenConfiguration aScreenOrientation);
|
||||||
NotifySwitchChange(SwitchEvent aEvent);
|
async NotifySwitchChange(SwitchEvent aEvent);
|
||||||
NotifySystemClockChange(int64_t aClockDeltaMS);
|
async NotifySystemClockChange(int64_t aClockDeltaMS);
|
||||||
NotifySystemTimezoneChange(SystemTimezoneChangeInformation aSystemTimezoneChangeInfo);
|
async NotifySystemTimezoneChange(SystemTimezoneChangeInformation aSystemTimezoneChangeInfo);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Vibrate(uint32_t[] pattern, uint64_t[] id, PBrowser browser);
|
async Vibrate(uint32_t[] pattern, uint64_t[] id, PBrowser browser);
|
||||||
CancelVibrate(uint64_t[] id, PBrowser browser);
|
async CancelVibrate(uint64_t[] id, PBrowser browser);
|
||||||
|
|
||||||
EnableBatteryNotifications();
|
async EnableBatteryNotifications();
|
||||||
DisableBatteryNotifications();
|
async DisableBatteryNotifications();
|
||||||
sync GetCurrentBatteryInformation()
|
sync GetCurrentBatteryInformation()
|
||||||
returns (BatteryInformation aBatteryInfo);
|
returns (BatteryInformation aBatteryInfo);
|
||||||
|
|
||||||
EnableNetworkNotifications();
|
async EnableNetworkNotifications();
|
||||||
DisableNetworkNotifications();
|
async DisableNetworkNotifications();
|
||||||
sync GetCurrentNetworkInformation()
|
sync GetCurrentNetworkInformation()
|
||||||
returns (NetworkInformation aNetworkInfo);
|
returns (NetworkInformation aNetworkInfo);
|
||||||
|
|
||||||
sync GetScreenEnabled() returns (bool enabled);
|
sync GetScreenEnabled() returns (bool enabled);
|
||||||
SetScreenEnabled(bool aEnabled);
|
async SetScreenEnabled(bool aEnabled);
|
||||||
|
|
||||||
sync GetKeyLightEnabled() returns (bool enabled);
|
sync GetKeyLightEnabled() returns (bool enabled);
|
||||||
SetKeyLightEnabled(bool aEnabled);
|
async SetKeyLightEnabled(bool aEnabled);
|
||||||
|
|
||||||
sync GetCpuSleepAllowed() returns (bool allowed);
|
sync GetCpuSleepAllowed() returns (bool allowed);
|
||||||
SetCpuSleepAllowed(bool aAllowed);
|
async SetCpuSleepAllowed(bool aAllowed);
|
||||||
|
|
||||||
sync GetScreenBrightness() returns (double brightness);
|
sync GetScreenBrightness() returns (double brightness);
|
||||||
SetScreenBrightness(double aBrightness);
|
async SetScreenBrightness(double aBrightness);
|
||||||
|
|
||||||
AdjustSystemClock(int64_t aDeltaMilliseconds);
|
async AdjustSystemClock(int64_t aDeltaMilliseconds);
|
||||||
SetTimezone(nsCString aTimezoneSpec);
|
async SetTimezone(nsCString aTimezoneSpec);
|
||||||
sync GetTimezone()
|
sync GetTimezone()
|
||||||
returns (nsCString aTimezoneSpec);
|
returns (nsCString aTimezoneSpec);
|
||||||
sync GetTimezoneOffset()
|
sync GetTimezoneOffset()
|
||||||
returns (int32_t aTimezoneOffset);
|
returns (int32_t aTimezoneOffset);
|
||||||
EnableSystemClockChangeNotifications();
|
async EnableSystemClockChangeNotifications();
|
||||||
DisableSystemClockChangeNotifications();
|
async DisableSystemClockChangeNotifications();
|
||||||
EnableSystemTimezoneChangeNotifications();
|
async EnableSystemTimezoneChangeNotifications();
|
||||||
DisableSystemTimezoneChangeNotifications();
|
async DisableSystemTimezoneChangeNotifications();
|
||||||
|
|
||||||
ModifyWakeLock(nsString aTopic,
|
async ModifyWakeLock(nsString aTopic,
|
||||||
WakeLockControl aLockAdjust,
|
WakeLockControl aLockAdjust,
|
||||||
WakeLockControl aHiddenAdjust,
|
WakeLockControl aHiddenAdjust,
|
||||||
uint64_t aProcessID);
|
uint64_t aProcessID);
|
||||||
EnableWakeLockNotifications();
|
async EnableWakeLockNotifications();
|
||||||
DisableWakeLockNotifications();
|
async DisableWakeLockNotifications();
|
||||||
sync GetWakeLockInfo(nsString aTopic)
|
sync GetWakeLockInfo(nsString aTopic)
|
||||||
returns (WakeLockInformation aWakeLockInfo);
|
returns (WakeLockInformation aWakeLockInfo);
|
||||||
|
|
||||||
EnableScreenConfigurationNotifications();
|
async EnableScreenConfigurationNotifications();
|
||||||
DisableScreenConfigurationNotifications();
|
async DisableScreenConfigurationNotifications();
|
||||||
prio(urgent) sync GetCurrentScreenConfiguration()
|
prio(urgent) sync GetCurrentScreenConfiguration()
|
||||||
returns (ScreenConfiguration aScreenConfiguration);
|
returns (ScreenConfiguration aScreenConfiguration);
|
||||||
sync LockScreenOrientation(ScreenOrientationInternal aOrientation)
|
sync LockScreenOrientation(ScreenOrientationInternal aOrientation)
|
||||||
returns (bool allowed);
|
returns (bool allowed);
|
||||||
UnlockScreenOrientation();
|
async UnlockScreenOrientation();
|
||||||
|
|
||||||
EnableSwitchNotifications(SwitchDevice aDevice);
|
async EnableSwitchNotifications(SwitchDevice aDevice);
|
||||||
DisableSwitchNotifications(SwitchDevice aDevice);
|
async DisableSwitchNotifications(SwitchDevice aDevice);
|
||||||
sync GetCurrentSwitchState(SwitchDevice aDevice)
|
sync GetCurrentSwitchState(SwitchDevice aDevice)
|
||||||
returns (SwitchState aState);
|
returns (SwitchState aState);
|
||||||
|
|
||||||
FactoryReset(nsString aReason);
|
async FactoryReset(nsString aReason);
|
||||||
|
|
||||||
child:
|
child:
|
||||||
NotifySensorChange(SensorData aSensorData);
|
async NotifySensorChange(SensorData aSensorData);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
EnableSensorNotifications(SensorType aSensor);
|
async EnableSensorNotifications(SensorType aSensor);
|
||||||
DisableSensorNotifications(SensorType aSensor);
|
async DisableSensorNotifications(SensorType aSensor);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace hal
|
} // namespace hal
|
||||||
|
@ -60,46 +60,46 @@ sync protocol PBackground
|
|||||||
|
|
||||||
parent:
|
parent:
|
||||||
// Only called at startup during mochitests to check the basic infrastructure.
|
// Only called at startup during mochitests to check the basic infrastructure.
|
||||||
PBackgroundTest(nsCString testArg);
|
async PBackgroundTest(nsCString testArg);
|
||||||
|
|
||||||
PBackgroundIDBFactory(LoggingInfo loggingInfo);
|
async PBackgroundIDBFactory(LoggingInfo loggingInfo);
|
||||||
|
|
||||||
PBackgroundIndexedDBUtils();
|
async PBackgroundIndexedDBUtils();
|
||||||
|
|
||||||
PVsync();
|
async PVsync();
|
||||||
|
|
||||||
PCameras();
|
async PCameras();
|
||||||
|
|
||||||
PUDPSocket(OptionalPrincipalInfo pInfo, nsCString filter);
|
async PUDPSocket(OptionalPrincipalInfo pInfo, nsCString filter);
|
||||||
PBroadcastChannel(PrincipalInfo pInfo, nsCString origin, nsString channel,
|
async PBroadcastChannel(PrincipalInfo pInfo, nsCString origin, nsString channel,
|
||||||
bool privateBrowsing);
|
bool privateBrowsing);
|
||||||
|
|
||||||
PServiceWorkerManager();
|
async PServiceWorkerManager();
|
||||||
|
|
||||||
ShutdownServiceWorkerRegistrar();
|
async ShutdownServiceWorkerRegistrar();
|
||||||
|
|
||||||
PCacheStorage(Namespace aNamespace, PrincipalInfo aPrincipalInfo);
|
async PCacheStorage(Namespace aNamespace, PrincipalInfo aPrincipalInfo);
|
||||||
|
|
||||||
PMessagePort(nsID uuid, nsID destinationUuid, uint32_t sequenceId);
|
async PMessagePort(nsID uuid, nsID destinationUuid, uint32_t sequenceId);
|
||||||
|
|
||||||
PNuwa();
|
async PNuwa();
|
||||||
|
|
||||||
MessagePortForceClose(nsID uuid, nsID destinationUuid, uint32_t sequenceId);
|
async MessagePortForceClose(nsID uuid, nsID destinationUuid, uint32_t sequenceId);
|
||||||
|
|
||||||
PAsmJSCacheEntry(OpenMode openMode,
|
async PAsmJSCacheEntry(OpenMode openMode,
|
||||||
WriteParams write,
|
WriteParams write,
|
||||||
PrincipalInfo principalInfo);
|
PrincipalInfo principalInfo);
|
||||||
|
|
||||||
PQuota();
|
async PQuota();
|
||||||
|
|
||||||
child:
|
child:
|
||||||
PCache();
|
async PCache();
|
||||||
PCacheStreamControl();
|
async PCacheStreamControl();
|
||||||
|
|
||||||
both:
|
both:
|
||||||
PBlob(BlobConstructorParams params);
|
async PBlob(BlobConstructorParams params);
|
||||||
|
|
||||||
PFileDescriptorSet(FileDescriptor fd);
|
async PFileDescriptorSet(FileDescriptor fd);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ipc
|
} // namespace ipc
|
||||||
|
@ -13,7 +13,7 @@ protocol PBackgroundTest
|
|||||||
manager PBackground;
|
manager PBackground;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__(nsCString testArg);
|
async __delete__(nsCString testArg);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ipc
|
} // namespace ipc
|
||||||
|
@ -13,9 +13,9 @@ protocol PFileDescriptorSet
|
|||||||
manager PBackground or PContent;
|
manager PBackground or PContent;
|
||||||
|
|
||||||
both:
|
both:
|
||||||
AddFileDescriptor(FileDescriptor fd);
|
async AddFileDescriptor(FileDescriptor fd);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ipc
|
} // namespace ipc
|
||||||
|
@ -499,7 +499,7 @@ def p_MessageDirectionLabel(p):
|
|||||||
assert 0
|
assert 0
|
||||||
|
|
||||||
def p_MessageDecl(p):
|
def p_MessageDecl(p):
|
||||||
"""MessageDecl : OptionalSendSemanticsQual MessageBody"""
|
"""MessageDecl : SendSemanticsQual MessageBody"""
|
||||||
msg = p[2]
|
msg = p[2]
|
||||||
msg.priority = p[1][0]
|
msg.priority = p[1][0]
|
||||||
msg.sendSemantics = p[1][1]
|
msg.sendSemantics = p[1][1]
|
||||||
@ -636,12 +636,6 @@ def p_Priority(p):
|
|||||||
'urgent': 3}
|
'urgent': 3}
|
||||||
p[0] = prios[p[1]]
|
p[0] = prios[p[1]]
|
||||||
|
|
||||||
def p_OptionalSendSemanticsQual(p):
|
|
||||||
"""OptionalSendSemanticsQual : SendSemanticsQual
|
|
||||||
| """
|
|
||||||
if 2 == len(p): p[0] = p[1]
|
|
||||||
else: p[0] = [ NORMAL_PRIORITY, ASYNC ]
|
|
||||||
|
|
||||||
def p_SendSemanticsQual(p):
|
def p_SendSemanticsQual(p):
|
||||||
"""SendSemanticsQual : ASYNC
|
"""SendSemanticsQual : ASYNC
|
||||||
| SYNC
|
| SYNC
|
||||||
|
@ -13,13 +13,13 @@ protocol PTestActorPunning {
|
|||||||
manages PTestActorPunningSub;
|
manages PTestActorPunningSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Start();
|
async Start();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
PTestActorPunningPunned();
|
async PTestActorPunningPunned();
|
||||||
PTestActorPunningSub();
|
async PTestActorPunningSub();
|
||||||
Pun(PTestActorPunningSub a, Bad bad);
|
async Pun(PTestActorPunningSub a, Bad bad);
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
|
|
||||||
state PING:
|
state PING:
|
||||||
|
@ -8,7 +8,7 @@ protocol PTestActorPunningPunned {
|
|||||||
manager PTestActorPunning;
|
manager PTestActorPunning;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mozilla
|
} // namespace mozilla
|
||||||
|
@ -8,8 +8,8 @@ protocol PTestActorPunningSub {
|
|||||||
manager PTestActorPunning;
|
manager PTestActorPunning;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Bad();
|
async Bad();
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mozilla
|
} // namespace mozilla
|
||||||
|
@ -10,8 +10,8 @@ intr protocol PTestBadActor {
|
|||||||
manages PTestBadActorSub;
|
manages PTestBadActorSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
PTestBadActorSub();
|
async PTestBadActorSub();
|
||||||
__delete__();
|
async __delete__();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace _ipdltest
|
} // namespace _ipdltest
|
||||||
|
@ -10,7 +10,7 @@ child:
|
|||||||
intr __delete__();
|
intr __delete__();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Ping();
|
async Ping();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace _ipdltest
|
} // namespace _ipdltest
|
||||||
|
@ -10,10 +10,10 @@ protocol PTestBridgeMain {
|
|||||||
child opens PTestBridgeMainSub;
|
child opens PTestBridgeMainSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Start();
|
async Start();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state START:
|
state START:
|
||||||
send Start goto DEAD;
|
send Start goto DEAD;
|
||||||
|
@ -10,14 +10,14 @@ intr protocol PTestBridgeMainSub {
|
|||||||
bridges PTestBridgeMain, PTestBridgeSub;
|
bridges PTestBridgeMain, PTestBridgeSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Hi();
|
async Hi();
|
||||||
intr HiRpc();
|
intr HiRpc();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Hello();
|
async Hello();
|
||||||
sync HelloSync();
|
sync HelloSync();
|
||||||
intr HelloRpc();
|
intr HelloRpc();
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state START: recv Hello goto HI;
|
state START: recv Hello goto HI;
|
||||||
state HI: send Hi goto HELLO_SYNC;
|
state HI: send Hi goto HELLO_SYNC;
|
||||||
|
@ -6,11 +6,11 @@ namespace _ipdltest {
|
|||||||
|
|
||||||
protocol PTestBridgeSub {
|
protocol PTestBridgeSub {
|
||||||
child:
|
child:
|
||||||
Ping();
|
async Ping();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
BridgeEm();
|
async BridgeEm();
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state START:
|
state START:
|
||||||
send Ping goto BRIDGEEM;
|
send Ping goto BRIDGEEM;
|
||||||
|
@ -10,7 +10,7 @@ namespace _ipdltest {
|
|||||||
intr protocol PTestCrashCleanup {
|
intr protocol PTestCrashCleanup {
|
||||||
child:
|
child:
|
||||||
intr DIEDIEDIE();
|
intr DIEDIEDIE();
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
state ALIVE:
|
state ALIVE:
|
||||||
call DIEDIEDIE goto CRASH;
|
call DIEDIEDIE goto CRASH;
|
||||||
|
@ -10,12 +10,12 @@ sync protocol PTestDataStructures {
|
|||||||
manages PTestDataStructuresSub;
|
manages PTestDataStructuresSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
PTestDataStructuresSub(int i);
|
async PTestDataStructuresSub(int i);
|
||||||
|
|
||||||
Start();
|
async Start();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
sync Test1(int[] i1)
|
sync Test1(int[] i1)
|
||||||
returns (int[] o1);
|
returns (int[] o1);
|
||||||
|
@ -9,12 +9,12 @@ intr protocol PTestDesc {
|
|||||||
child:
|
child:
|
||||||
intr PTestDescSub(nullable PTestDescSubsub dummy);
|
intr PTestDescSub(nullable PTestDescSubsub dummy);
|
||||||
|
|
||||||
Test(PTestDescSubsub a);
|
async Test(PTestDescSubsub a);
|
||||||
|
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Ok(PTestDescSubsub a);
|
async Ok(PTestDescSubsub a);
|
||||||
|
|
||||||
|
|
||||||
state CONSTRUCT:
|
state CONSTRUCT:
|
||||||
|
@ -9,7 +9,7 @@ intr protocol PTestDescSub {
|
|||||||
manages PTestDescSubsub;
|
manages PTestDescSubsub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
__delete__();
|
async __delete__();
|
||||||
|
|
||||||
intr PTestDescSubsub();
|
intr PTestDescSubsub();
|
||||||
};
|
};
|
||||||
|
@ -12,10 +12,10 @@ protocol PTestEndpointBridgeMain {
|
|||||||
child spawns PTestEndpointBridgeSub;
|
child spawns PTestEndpointBridgeSub;
|
||||||
|
|
||||||
child:
|
child:
|
||||||
Start();
|
async Start();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Bridged(Endpoint<PTestEndpointBridgeMainSubParent> endpoint);
|
async Bridged(Endpoint<PTestEndpointBridgeMainSubParent> endpoint);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,11 +11,11 @@ namespace _ipdltest {
|
|||||||
// they bridge)
|
// they bridge)
|
||||||
intr protocol PTestEndpointBridgeMainSub {
|
intr protocol PTestEndpointBridgeMainSub {
|
||||||
child:
|
child:
|
||||||
Hi();
|
async Hi();
|
||||||
intr HiRpc();
|
intr HiRpc();
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
Hello();
|
async Hello();
|
||||||
sync HelloSync();
|
sync HelloSync();
|
||||||
intr HelloRpc();
|
intr HelloRpc();
|
||||||
};
|
};
|
||||||
|
@ -9,12 +9,12 @@ namespace _ipdltest {
|
|||||||
|
|
||||||
protocol PTestEndpointBridgeSub {
|
protocol PTestEndpointBridgeSub {
|
||||||
child:
|
child:
|
||||||
Ping();
|
async Ping();
|
||||||
|
|
||||||
Bridged(Endpoint<PTestEndpointBridgeMainSubChild> endpoint);
|
async Bridged(Endpoint<PTestEndpointBridgeMainSubChild> endpoint);
|
||||||
|
|
||||||
parent:
|
parent:
|
||||||
BridgeEm();
|
async BridgeEm();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user