1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsPopupWindowManager_h__
7 #define nsPopupWindowManager_h__
11 #include "nsIObserver.h"
12 #include "nsIPermissionManager.h"
13 #include "nsIPopupWindowManager.h"
14 #include "nsWeakReference.h"
16 class nsPopupWindowManager
: public nsIPopupWindowManager
,
18 public nsSupportsWeakReference
{
22 NS_DECL_NSIPOPUPWINDOWMANAGER
25 nsPopupWindowManager();
29 virtual ~nsPopupWindowManager();
32 nsCOMPtr
<nsIPermissionManager
> mPermissionManager
;
35 // {822bcd11-6432-48be-9e9d-36f7804b7747}
36 #define NS_POPUPWINDOWMANAGER_CID \
37 {0x822bcd11, 0x6432, 0x48be, {0x9e, 0x9d, 0x36, 0xf7, 0x80, 0x4b, 0x77, 0x47}}
39 #endif /* nsPopupWindowManager_h__ */