2002-06-27 02:34:09 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
2000-01-22 06:15:41 +03:00
|
|
|
*
|
2012-05-21 15:12:37 +04: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/. */
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
#ifndef nsChromeTreeOwner_h__
|
|
|
|
#define nsChromeTreeOwner_h__
|
|
|
|
|
2000-02-08 16:40:10 +03:00
|
|
|
// Helper Classes
|
2000-01-22 06:15:41 +03:00
|
|
|
#include "nsCOMPtr.h"
|
2000-02-08 16:40:10 +03:00
|
|
|
|
|
|
|
// Interfaces Needed
|
2000-01-22 06:15:41 +03:00
|
|
|
#include "nsIBaseWindow.h"
|
2000-02-08 16:40:10 +03:00
|
|
|
#include "nsIDocShellTreeOwner.h"
|
|
|
|
#include "nsIInterfaceRequestor.h"
|
2001-09-06 01:28:38 +04:00
|
|
|
#include "nsIInterfaceRequestorUtils.h"
|
2000-04-12 03:50:14 +04:00
|
|
|
#include "nsIWebProgressListener.h"
|
2001-02-01 00:01:51 +03:00
|
|
|
#include "nsWeakReference.h"
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
class nsXULWindow;
|
|
|
|
|
2007-10-06 03:37:25 +04:00
|
|
|
class nsChromeTreeOwner : public nsIDocShellTreeOwner,
|
2017-07-06 15:00:35 +03:00
|
|
|
public nsIBaseWindow,
|
2000-04-12 03:50:14 +04:00
|
|
|
public nsIInterfaceRequestor,
|
2001-02-01 00:01:51 +03:00
|
|
|
public nsIWebProgressListener,
|
|
|
|
public nsSupportsWeakReference {
|
2000-01-22 06:15:41 +03:00
|
|
|
friend class nsXULWindow;
|
|
|
|
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
|
2000-02-08 16:40:10 +03:00
|
|
|
NS_DECL_NSIINTERFACEREQUESTOR
|
2000-01-22 06:15:41 +03:00
|
|
|
NS_DECL_NSIBASEWINDOW
|
|
|
|
NS_DECL_NSIDOCSHELLTREEOWNER
|
2000-04-12 03:50:14 +04:00
|
|
|
NS_DECL_NSIWEBPROGRESSLISTENER
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
protected:
|
|
|
|
nsChromeTreeOwner();
|
2000-01-27 07:56:21 +03:00
|
|
|
virtual ~nsChromeTreeOwner();
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
void XULWindow(nsXULWindow* aXULWindow);
|
|
|
|
nsXULWindow* XULWindow();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
nsXULWindow* mXULWindow;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsChromeTreeOwner_h__ */
|