Lines Matching refs:action
90 bool InspectorHistory::perform(std::unique_ptr<Action> action, ExceptionCode& ec)
92 if (!action->perform(ec))
95 if (!action->mergeId().isEmpty() && m_afterLastActionIndex > 0 && action->mergeId() == m_history[m_afterLastActionIndex - 1]->mergeId())
96 m_history[m_afterLastActionIndex - 1]->merge(WTF::move(action));
99 m_history.append(WTF::move(action));
116 Action* action = m_history[m_afterLastActionIndex - 1].get();
117 if (!action->undo(ec)) {
122 if (action->isUndoableStateMark())
135 Action* action = m_history[m_afterLastActionIndex].get();
136 if (!action->redo(ec)) {
141 if (action->isUndoableStateMark())