Lines Matching refs:mUndoStack
21 : mTransaction(aTransaction), mUndoStack(0), mRedoStack(0) {} in TransactionItem()
25 delete mUndoStack; in ~TransactionItem()
34 if (mUndoStack) { in CleanUp()
35 mUndoStack->DoUnlink(); in CleanUp()
55 if (tmp->mUndoStack) {
56 tmp->mUndoStack->DoTraverse(cb);
64 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
65 mUndoStack = new TransactionStack(TransactionStack::FOR_UNDO); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
68 mUndoStack->Push(&aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
117 if (!mUndoStack) { in UndoChildren()
125 size_t undoStackSize = mUndoStack->GetSize(); in UndoChildren()
129 RefPtr<TransactionItem> transactionItem = mUndoStack->Peek(); in UndoChildren()
149 transactionItem = mUndoStack->Pop(); in UndoChildren()
221 mUndoStack->Push(transactionItem.forget()); in RedoChildren()
239 NS_WARNING_ASSERTION(!mUndoStack || mUndoStack->GetSize() > 0, in NumberOfUndoItems()
241 return mUndoStack ? mUndoStack->GetSize() : 0; in NumberOfUndoItems()