1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsChromeTreeOwner_h__
8 #define nsChromeTreeOwner_h__
14 #include "nsIBaseWindow.h"
15 #include "nsIDocShellTreeOwner.h"
16 #include "nsIInterfaceRequestor.h"
17 #include "nsIInterfaceRequestorUtils.h"
18 #include "nsIWebProgressListener.h"
19 #include "nsWeakReference.h"
25 class nsChromeTreeOwner
: public nsIDocShellTreeOwner
,
27 public nsIInterfaceRequestor
,
28 public nsIWebProgressListener
,
29 public nsSupportsWeakReference
{
30 friend class mozilla::AppWindow
;
35 NS_DECL_NSIINTERFACEREQUESTOR
37 NS_DECL_NSIDOCSHELLTREEOWNER
38 NS_DECL_NSIWEBPROGRESSLISTENER
42 virtual ~nsChromeTreeOwner();
44 void AppWindow(mozilla::AppWindow
* aAppWindow
);
45 mozilla::AppWindow
* AppWindow();
48 mozilla::AppWindow
* mAppWindow
;
51 #endif /* nsChromeTreeOwner_h__ */