2011-11-14 19:12:14 -08:00
|
|
|
#include "nsISupports.idl"
|
2012-02-03 22:48:26 -08:00
|
|
|
#include "nsIDOMWindow.idl"
|
2011-11-14 19:12:14 -08:00
|
|
|
|
2012-04-25 09:49:43 -07:00
|
|
|
[scriptable, uuid(56fd8e18-a5cf-4e7a-92ba-4f68b4ad50ac)]
|
2011-11-17 19:20:29 -08:00
|
|
|
interface nsIAndroidDrawMetadataProvider : nsISupports {
|
|
|
|
AString getDrawMetadata();
|
|
|
|
};
|
|
|
|
|
2012-03-12 11:05:43 -07:00
|
|
|
[scriptable, uuid(0843f3c1-043e-4c64-9d8c-091370548c05)]
|
|
|
|
interface nsIBrowserTab : nsISupports {
|
|
|
|
readonly attribute nsIDOMWindow window;
|
|
|
|
readonly attribute float scale;
|
|
|
|
};
|
|
|
|
|
2012-02-17 10:52:26 -08:00
|
|
|
[scriptable, uuid(d10377b4-1c90-493a-a532-63cb3f16ee2b)]
|
|
|
|
interface nsIAndroidBrowserApp : nsISupports {
|
2012-03-12 11:05:43 -07:00
|
|
|
nsIBrowserTab getBrowserTab(in PRInt32 tabId);
|
2012-02-17 10:52:26 -08:00
|
|
|
};
|
|
|
|
|
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);
|
2012-02-17 10:52:26 -08:00
|
|
|
attribute nsIAndroidBrowserApp browserApp;
|
2011-11-14 19:12:14 -08:00
|
|
|
};
|