зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 53bb2bc2b676 (bug 1397426)
--HG-- extra : rebase_source : 7ef95ce8467ed642077b6c141e440428f71fa3f6
This commit is contained in:
Родитель
c99b8d29a5
Коммит
738b920742
|
@ -4448,9 +4448,7 @@
|
|||
}
|
||||
for (let ppBrowser of this.tabbrowser._printPreviewBrowsers) {
|
||||
let ppTab = this.tabbrowser.getTabForBrowser(ppBrowser);
|
||||
let state = ppBrowser.hasLayers ? this.STATE_LOADED
|
||||
: this.STATE_LOADING;
|
||||
this.setTabState(ppTab, state);
|
||||
this.setTabState(ppTab, this.STATE_LOADING);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -32,12 +32,6 @@ interface nsITabParent : nsISupports
|
|||
*/
|
||||
void renderLayers(in bool aEnabled);
|
||||
|
||||
/**
|
||||
* True if layers are being rendered and the compositor has reported
|
||||
* receiving them.
|
||||
*/
|
||||
readonly attribute boolean hasLayers;
|
||||
|
||||
/**
|
||||
* Whether this tabParent is in prerender mode.
|
||||
*/
|
||||
|
|
|
@ -2995,13 +2995,6 @@ TabParent::RenderLayers(bool aEnabled)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TabParent::GetHasLayers(bool* aResult)
|
||||
{
|
||||
*aResult = mHasLayers;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TabParent::PreserveLayers(bool aPreserveLayers)
|
||||
{
|
||||
|
|
|
@ -304,14 +304,6 @@
|
|||
</body>
|
||||
</method>
|
||||
|
||||
<property name="hasLayers" readonly="true">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
return this.docShellIsActive;
|
||||
]]>
|
||||
</getter>
|
||||
</property>
|
||||
|
||||
<property name="imageDocument"
|
||||
readonly="true">
|
||||
<getter>
|
||||
|
|
|
@ -258,16 +258,6 @@
|
|||
]]></body>
|
||||
</method>
|
||||
|
||||
<property name="hasLayers" readonly="true">
|
||||
<getter><![CDATA[
|
||||
let {frameLoader} = this;
|
||||
if (frameLoader.tabParent) {
|
||||
return frameLoader.tabParent.hasLayers;
|
||||
}
|
||||
return false;
|
||||
]]></getter>
|
||||
</property>
|
||||
|
||||
<field name="_manifestURI"/>
|
||||
<property name="manifestURI"
|
||||
onget="return this._manifestURI"
|
||||
|
|
Загрузка…
Ссылка в новой задаче