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 CHROME_BROWSER_UNDO_UNDO_MANAGER_H_ | 5 #ifndef COMPONENTS_UNDO_UNDO_MANAGER_H_ |
6 #define CHROME_BROWSER_UNDO_UNDO_MANAGER_H_ | 6 #define COMPONENTS_UNDO_UNDO_MANAGER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 | 13 |
14 class UndoManagerObserver; | 14 class UndoManagerObserver; |
15 class UndoOperation; | 15 class UndoOperation; |
16 | 16 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 int undo_suspended_count_; | 124 int undo_suspended_count_; |
125 | 125 |
126 // Set when executing Undo or Redo so that incoming changes are correctly | 126 // Set when executing Undo or Redo so that incoming changes are correctly |
127 // processed. | 127 // processed. |
128 bool performing_undo_; | 128 bool performing_undo_; |
129 bool performing_redo_; | 129 bool performing_redo_; |
130 | 130 |
131 DISALLOW_COPY_AND_ASSIGN(UndoManager); | 131 DISALLOW_COPY_AND_ASSIGN(UndoManager); |
132 }; | 132 }; |
133 | 133 |
134 #endif // CHROME_BROWSER_UNDO_UNDO_MANAGER_H_ | 134 #endif // COMPONENTS_UNDO_UNDO_MANAGER_H_ |
OLD | NEW |