// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_UNDO_UNDO_MANAGER_H_ #define COMPONENTS_UNDO_UNDO_MANAGER_H_ #include <stddef.h> #include <memory> #include <string> #include <vector> #include "base/memory/raw_ptr.h" #include "base/observer_list.h" class UndoManagerObserver; class UndoOperation; // UndoGroup ------------------------------------------------------------------ // UndoGroup represents a user action and stores all the operations that // make that action. Typically there is only one operation per UndoGroup. class UndoGroup { … }; // UndoManager ---------------------------------------------------------------- // Maintains user actions as a group of operations that store enough info to // undo and redo those operations. class UndoManager { … }; #endif // COMPONENTS_UNDO_UNDO_MANAGER_H_