extensions/cookie/nsPopupWindowManager.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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;
    32 };
    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__ */

mercurial