docshell/base/nsDocShellTransferableHooks.h
author Benoit Jacob <bjacob@mozilla.com>
Mon, 23 Jun 2014 14:49:08 -0400
changeset 190179 4ccc78ad6d2ac2d92684501ee74d11e4d52135f8
parent 145377 f4858cb48e2d3799e31a9771bed84a64aca910fa
child 229052 1641a146787f37f44bef3360894b7dc0f2bda14d
permissions -rw-r--r--
Bug 1028588 - Fix dangerous public destructors in docshell/ - r=smaug

/* 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/. */

#ifndef nsDocShellTransferableHooks_h__
#define nsDocShellTransferableHooks_h__

#include "nsIClipboardDragDropHookList.h"
#include "nsCOMArray.h"

class nsIClipboardDragDropHooks;

class nsTransferableHookData : public nsIClipboardDragDropHookList
{
public:
    nsTransferableHookData();
    NS_DECL_ISUPPORTS
    NS_DECL_NSICLIPBOARDDRAGDROPHOOKLIST

protected:
    virtual ~nsTransferableHookData();

    nsCOMArray<nsIClipboardDragDropHooks> mHookList;
};

#endif // nsDocShellTransferableHooks_h__