Lines Matching refs:mUndoStack
17 : mTransaction(aTransaction), mUndoStack(0), mRedoStack(0) in nsTransactionItem()
24 delete mUndoStack; in ~nsTransactionItem()
35 if (mUndoStack) { in CleanUp()
36 mUndoStack->DoUnlink(); in CleanUp()
56 if (tmp->mUndoStack) {
57 tmp->mUndoStack->DoTraverse(cb);
69 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
70 mUndoStack = new nsTransactionStack(nsTransactionStack::FOR_UNDO); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
73 mUndoStack->Push(aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE()
133 NS_ENSURE_TRUE(mUndoStack, NS_ERROR_FAILURE); in GetChild()
135 RefPtr<nsTransactionItem> child = mUndoStack->GetItem(aIndex); in GetChild()
186 if (mUndoStack) { in UndoChildren()
187 if (!mRedoStack && mUndoStack) { in UndoChildren()
192 int32_t sz = mUndoStack->GetSize(); in UndoChildren()
196 RefPtr<nsTransactionItem> item = mUndoStack->Peek(); in UndoChildren()
213 item = mUndoStack->Pop(); in UndoChildren()
279 mUndoStack->Push(item.forget()); in RedoChildren()
299 if (!mUndoStack) { in GetNumberOfUndoItems()
304 *aNumItems = mUndoStack->GetSize(); in GetNumberOfUndoItems()