OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
14 #include "ui/base/ime/composition_text.h" | 17 #include "ui/base/ime/composition_text.h" |
15 #include "ui/gfx/render_text.h" | 18 #include "ui/gfx/render_text.h" |
16 #include "ui/gfx/text_constants.h" | 19 #include "ui/gfx/text_constants.h" |
17 #include "ui/views/views_export.h" | 20 #include "ui/views/views_export.h" |
18 | 21 |
19 namespace views { | 22 namespace views { |
20 | 23 |
21 namespace internal { | 24 namespace internal { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 // 2) new edit is added. (redo history is cleared) | 289 // 2) new edit is added. (redo history is cleared) |
287 // 3) redone all undone edits. | 290 // 3) redone all undone edits. |
288 EditHistory::iterator current_edit_; | 291 EditHistory::iterator current_edit_; |
289 | 292 |
290 DISALLOW_COPY_AND_ASSIGN(TextfieldModel); | 293 DISALLOW_COPY_AND_ASSIGN(TextfieldModel); |
291 }; | 294 }; |
292 | 295 |
293 } // namespace views | 296 } // namespace views |
294 | 297 |
295 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ | 298 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_MODEL_H_ |
OLD | NEW |