2011-11-14 19:12:14 -08:00
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2012-01-03 22:54:51 -08:00
|
|
|
[scriptable, uuid(38b5c83a-3e8d-45c2-8311-6e36bd5116c0)]
|
2011-11-17 19:20:29 -08:00
|
|
|
interface nsIAndroidDrawMetadataProvider : nsISupports {
|
|
|
|
AString getDrawMetadata();
|
2012-01-03 22:54:51 -08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Returns true if the presentation shell corresponding to the currently-viewed document is
|
|
|
|
* suppressing painting (which occurs during page transitions) and false otherwise.
|
|
|
|
*/
|
|
|
|
boolean paintingSuppressed();
|
2011-11-17 19:20:29 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
[scriptable, uuid(7dd8441a-4f38-49b2-bd90-da69d02a96cf)]
|
2011-11-14 19:12:14 -08:00
|
|
|
interface nsIAndroidBridge : nsISupports
|
|
|
|
{
|
|
|
|
AString handleGeckoMessage(in AString message);
|
2011-11-17 19:20:29 -08:00
|
|
|
void setDrawMetadataProvider(in nsIAndroidDrawMetadataProvider provider);
|
2011-11-14 19:12:14 -08:00
|
|
|
};
|