| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef COMPONENTS_UNDO_UNDO_MANAGER_H_ | 5 #ifndef COMPONENTS_UNDO_UNDO_MANAGER_H_ | 
| 6 #define COMPONENTS_UNDO_UNDO_MANAGER_H_ | 6 #define COMPONENTS_UNDO_UNDO_MANAGER_H_ | 
| 7 | 7 | 
| 8 #include "base/basictypes.h" | 8 #include <stddef.h> | 
|  | 9 | 
|  | 10 #include "base/macros.h" | 
| 9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" | 
| 10 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" | 
| 11 #include "base/observer_list.h" | 13 #include "base/observer_list.h" | 
| 12 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" | 
| 13 | 15 | 
| 14 class UndoManagerObserver; | 16 class UndoManagerObserver; | 
| 15 class UndoOperation; | 17 class UndoOperation; | 
| 16 | 18 | 
| 17 // UndoGroup ------------------------------------------------------------------ | 19 // UndoGroup ------------------------------------------------------------------ | 
| 18 | 20 | 
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 125 | 127 | 
| 126   // Set when executing Undo or Redo so that incoming changes are correctly | 128   // Set when executing Undo or Redo so that incoming changes are correctly | 
| 127   // processed. | 129   // processed. | 
| 128   bool performing_undo_; | 130   bool performing_undo_; | 
| 129   bool performing_redo_; | 131   bool performing_redo_; | 
| 130 | 132 | 
| 131   DISALLOW_COPY_AND_ASSIGN(UndoManager); | 133   DISALLOW_COPY_AND_ASSIGN(UndoManager); | 
| 132 }; | 134 }; | 
| 133 | 135 | 
| 134 #endif  // COMPONENTS_UNDO_UNDO_MANAGER_H_ | 136 #endif  // COMPONENTS_UNDO_UNDO_MANAGER_H_ | 
| OLD | NEW | 
|---|