1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3
* The contents of this file are subject to the Mozilla Public
4
* License Version 1.1 (the "License"); you may not use this file
5
* except in compliance with the License. You may obtain a copy of
6
* the License at http://www.mozilla.org/MPL/
8
* Software distributed under the License is distributed on an "AS
9
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
10
* implied. See the License for the specific language governing
11
* rights and limitations under the License.
13
* The Original Code is the Mozilla browser.
15
* The Initial Developer of the Original Code is Netscape
16
* Communications, Inc. Portions created by Netscape are
17
* Copyright (C) 1999, Mozilla. All Rights Reserved.
20
* Travis Bogard <travis@netscape.com>
23
#ifndef nsChromeTreeOwner_h__
24
#define nsChromeTreeOwner_h__
30
#include "nsIBaseWindow.h"
31
#include "nsIDocShellTreeOwner.h"
32
#include "nsIInterfaceRequestor.h"
33
#include "nsIInterfaceRequestorUtils.h"
34
#include "nsIWebProgressListener.h"
35
#include "nsWeakReference.h"
39
class nsChromeTreeOwner : public nsIDocShellTreeOwner,
41
public nsIInterfaceRequestor,
42
public nsIWebProgressListener,
43
public nsSupportsWeakReference
45
friend class nsXULWindow;
50
NS_DECL_NSIINTERFACEREQUESTOR
52
NS_DECL_NSIDOCSHELLTREEOWNER
53
NS_DECL_NSIWEBPROGRESSLISTENER
55
static nsresult InitGlobals();
56
static void FreeGlobals();
60
virtual ~nsChromeTreeOwner();
62
void XULWindow(nsXULWindow* aXULWindow);
63
nsXULWindow* XULWindow();
66
nsXULWindow* mXULWindow;
69
#endif /* nsChromeTreeOwner_h__ */