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
|
|
|
|
2019-11-05 20:56:28 +03:00
|
|
|
namespace mozilla {
|
|
|
|
class AppWindow;
|
|
|
|
}
|
2000-01-22 06:15:41 +03:00
|
|
|
|
2007-10-06 03:37:25 +04:00
|
|
|
class nsChromeTreeOwner : public nsIDocShellTreeOwner,
|
2000-04-12 03:50:14 +04:00
|
|
|
public nsIBaseWindow,
|
|
|
|
public nsIInterfaceRequestor,
|
2001-02-01 00:01:51 +03:00
|
|
|
public nsIWebProgressListener,
|
|
|
|
public nsSupportsWeakReference {
|
2019-11-05 20:56:28 +03:00
|
|
|
friend class mozilla::AppWindow;
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
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
|
|
|
|
2019-11-05 20:56:28 +03:00
|
|
|
void AppWindow(mozilla::AppWindow* aAppWindow);
|
|
|
|
mozilla::AppWindow* AppWindow();
|
2000-01-22 06:15:41 +03:00
|
|
|
|
|
|
|
protected:
|
2019-11-05 20:56:28 +03:00
|
|
|
mozilla::AppWindow* mAppWindow;
|
2000-01-22 06:15:41 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsChromeTreeOwner_h__ */
|