mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
This commit is contained in:
parent
8b096e70d2
commit
30a101ad73
15 changed files with 396 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ include protocol PContent;
|
|||
include protocol PContentBridge;
|
||||
include protocol PDatePicker;
|
||||
include protocol PDocAccessible;
|
||||
include protocol PDocumentRenderer;
|
||||
include protocol PFilePicker;
|
||||
include protocol PIndexedDBPermissionRequest;
|
||||
include protocol PRenderFrame;
|
||||
|
|
@ -118,6 +119,7 @@ nested(upto inside_cpow) sync protocol PBrowser
|
|||
manages PColorPicker;
|
||||
manages PDatePicker;
|
||||
manages PDocAccessible;
|
||||
manages PDocumentRenderer;
|
||||
manages PFilePicker;
|
||||
manages PIndexedDBPermissionRequest;
|
||||
manages PRenderFrame;
|
||||
|
|
@ -736,6 +738,24 @@ child:
|
|||
|
||||
async LoadRemoteScript(nsString aURL, bool aRunInGlobalScope);
|
||||
|
||||
/**
|
||||
* Create a asynchronous request to render whatever document is
|
||||
* loaded in the child when this message arrives. When the
|
||||
* request finishes, PDocumentRenderer:__delete__ is sent back to
|
||||
* this side to notify completion.
|
||||
*
|
||||
* |documentRect| is the area of the remote document to draw,
|
||||
* transformed by |transform|. The rendered area will have the
|
||||
* default background color |bgcolor|. |renderFlags| are the
|
||||
* nsIPresShell::RenderDocument() flags to use on the remote side,
|
||||
* and if true, |flushLayout| will do just that before rendering
|
||||
* the document. The rendered image will be of size |renderSize|.
|
||||
*/
|
||||
async PDocumentRenderer(nsRect documentRect, Matrix transform,
|
||||
nsString bgcolor,
|
||||
uint32_t renderFlags, bool flushLayout,
|
||||
IntSize renderSize);
|
||||
|
||||
/**
|
||||
* Sent by the chrome process when it no longer wants this remote
|
||||
* <browser>. The child side cleans up in response, then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue