author Matt Woodrow <mwoodrow@mozilla.com>
Mon, 07 Aug 2017 14:23:35 +1200
changeset 374184 d668e62d469150330729bc2e61503587d035988e
parent 301499 232a786cf87fb0f68f9bda6e9316515524d2ac8a
permissions -rw-r--r--
Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 nsTransactionList_h__
#define nsTransactionList_h__

#include "nsISupportsImpl.h"
#include "nsITransactionList.h"
#include "nsIWeakReferenceUtils.h"

class nsITransaction;
class nsITransactionManager;
class nsTransactionItem;
class nsTransactionStack;

/** implementation of a transaction list object.
class nsTransactionList : public nsITransactionList

  nsWeakPtr                   mTxnMgr;
  nsTransactionStack         *mTxnStack;
  RefPtr<nsTransactionItem> mTxnItem;

  virtual ~nsTransactionList();


  nsTransactionList(nsITransactionManager *aTxnMgr, nsTransactionStack *aTxnStack);
  nsTransactionList(nsITransactionManager *aTxnMgr, nsTransactionItem *aTxnItem);

  /* Macro for AddRef(), Release(), and QueryInterface() */

  /* nsITransactionManager method implementations. */

  /* nsTransactionList specific methods. */

#endif // nsTransactionList_h__