Bug 899135 - Drop buffers in ScriptProcessorNode instead of buffering them when the...
[gecko.git] / extensions / cookie / nsPopupWindowManager.h
bloba60a706a05b5f23dc1bc8aca6de034b4c43c1510
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__
9 #include "nsCOMPtr.h"
11 #include "nsIObserver.h"
12 #include "nsIPermissionManager.h"
13 #include "nsIPopupWindowManager.h"
14 #include "nsWeakReference.h"
16 class nsPopupWindowManager : public nsIPopupWindowManager,
17 public nsIObserver,
18 public nsSupportsWeakReference {
20 public:
21 NS_DECL_ISUPPORTS
22 NS_DECL_NSIPOPUPWINDOWMANAGER
23 NS_DECL_NSIOBSERVER
25 nsPopupWindowManager();
26 virtual ~nsPopupWindowManager();
27 nsresult Init();
29 private:
30 uint32_t mPolicy;
31 nsCOMPtr<nsIPermissionManager> mPermissionManager;
34 // {822bcd11-6432-48be-9e9d-36f7804b7747}
35 #define NS_POPUPWINDOWMANAGER_CID \
36 {0x822bcd11, 0x6432, 0x48be, {0x9e, 0x9d, 0x36, 0xf7, 0x80, 0x4b, 0x77, 0x47}}
38 #endif /* nsPopupWindowManager_h__ */