2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
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-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
|
|
|
};
|
|
|
|
|
2012-05-23 07:49:44 -07:00
|
|
|
[scriptable, uuid(bbb8e0d7-5cca-4ad0-88be-538ce6d04f63)]
|
2011-11-14 19:12:14 -08:00
|
|
|
interface nsIAndroidBridge : nsISupports
|
|
|
|
{
|
|
|
|
AString handleGeckoMessage(in AString message);
|
2012-02-17 10:52:26 -08:00
|
|
|
attribute nsIAndroidBrowserApp browserApp;
|
2011-11-14 19:12:14 -08:00
|
|
|
};
|