summaryrefslogtreecommitdiffstats
path: root/widget/android/nsIAndroidBridge.idl
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /widget/android/nsIAndroidBridge.idl
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'widget/android/nsIAndroidBridge.idl')
-rw-r--r--widget/android/nsIAndroidBridge.idl42
1 files changed, 42 insertions, 0 deletions
diff --git a/widget/android/nsIAndroidBridge.idl b/widget/android/nsIAndroidBridge.idl
new file mode 100644
index 000000000..91b1a3d52
--- /dev/null
+++ b/widget/android/nsIAndroidBridge.idl
@@ -0,0 +1,42 @@
+/* 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/. */
+
+#include "nsISupports.idl"
+
+interface mozIDOMWindowProxy;
+
+[scriptable, uuid(e8420a7b-659b-4325-968b-a114a6a067aa)]
+interface nsIBrowserTab : nsISupports {
+ readonly attribute mozIDOMWindowProxy window;
+ readonly attribute float scale;
+};
+
+[scriptable, uuid(08426a73-e70b-4680-9282-630932e2b2bb)]
+interface nsIUITelemetryObserver : nsISupports {
+ void startSession(in wstring name,
+ in long long timestamp);
+ void stopSession(in wstring name,
+ in wstring reason,
+ in long long timestamp);
+ void addEvent(in wstring action,
+ in wstring method,
+ in long long timestamp,
+ in wstring extras);
+};
+
+[scriptable, uuid(0370450f-2e9c-4d16-b333-8ca6ce31a5ff)]
+interface nsIAndroidBrowserApp : nsISupports {
+ readonly attribute nsIBrowserTab selectedTab;
+ nsIBrowserTab getBrowserTab(in int32_t tabId);
+ nsIUITelemetryObserver getUITelemetryObserver();
+};
+
+[scriptable, uuid(1beb70d3-70f3-4742-98cc-a3d301b26c0c)]
+interface nsIAndroidBridge : nsISupports
+{
+ [implicit_jscontext] void handleGeckoMessage(in jsval message);
+ attribute nsIAndroidBrowserApp browserApp;
+ void contentDocumentChanged(in mozIDOMWindowProxy window);
+ boolean isContentDocumentDisplayed(in mozIDOMWindowProxy window);
+};