summaryrefslogtreecommitdiffstats
path: root/xpfe/appshell/nsIWindowMediatorListener.idl
diff options
context:
space:
mode:
Diffstat (limited to 'xpfe/appshell/nsIWindowMediatorListener.idl')
-rw-r--r--xpfe/appshell/nsIWindowMediatorListener.idl19
1 files changed, 19 insertions, 0 deletions
diff --git a/xpfe/appshell/nsIWindowMediatorListener.idl b/xpfe/appshell/nsIWindowMediatorListener.idl
new file mode 100644
index 000000000..459e3b6ab
--- /dev/null
+++ b/xpfe/appshell/nsIWindowMediatorListener.idl
@@ -0,0 +1,19 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* 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 nsIXULWindow;
+
+[scriptable, uuid(2F276982-0D60-4377-A595-D350BA516395)]
+interface nsIWindowMediatorListener : nsISupports
+{
+ void onWindowTitleChange(in nsIXULWindow window,
+ in wstring newTitle);
+
+ void onOpenWindow(in nsIXULWindow window);
+ void onCloseWindow(in nsIXULWindow window);
+};
+