Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

First Check-in.

  • Loading branch information...
commit c9189b16081534a22e92fef901b9649a645e006b 1 parent 007e5bc
tbogard%aol.net authored
Showing with 62 additions and 0 deletions.
  1. +62 −0 docshell/base/nsIDocShellContainer.idl
View
62 docshell/base/nsIDocShellContainer.idl
@@ -0,0 +1,62 @@
+/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Mozilla Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is the Mozilla browser.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications, Inc. Portions created by Netscape are
+ * Copyright (C) 1999, Mozilla. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Travis Bogard <travis@netscape.com>
+ * Steve Clark <buster@netscape.com>
+ */
+
+#include "nsISupports.idl"
+#include "nsIDocShell.idl"
+#include "nsIEnumerator.idl"
+
+
+/**
+ * The nsIDocShellContainer
+ */
+
+[scriptable, uuid(69E5DE04-7B8B-11d3-AF61-00A024FFC08C)]
+interface nsIDocShellContainer : nsISupports
+{
+ /*
+ The current number of DocShells which are immediate children of the
+ current DocShell.
+ */
+ attribute long childCount;
+
+ /*
+ Add a new child DocShell. Adds to the end of the list.
+ */
+ void AddChild(in nsIDocShell child);
+
+ /*
+ Removes a child DocShell.
+ */
+ void RemoveChild(in nsIDocShell child);
+
+ /*
+ Enumerator to walk child list.
+ */
+ readonly attribute nsIEnumerator childEnumerator;
+
+ /*
+ Return the child DocShell with the specified name
+ */
+ nsIDocShell FindChildWithName(in wstring name);
+};
+
Please sign in to comment.
Something went wrong with that request. Please try again.