OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEWS_MODEL_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
15 #include "ui/base/ime/composition_text.h" | 15 #include "ui/base/ime/composition_text.h" |
16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
17 #include "ui/gfx/render_text.h" | 17 #include "ui/gfx/render_text.h" |
| 18 #include "ui/gfx/text_constants.h" |
18 #include "ui/views/views_export.h" | 19 #include "ui/views/views_export.h" |
19 | 20 |
20 namespace gfx { | 21 namespace gfx { |
21 class RenderText; | 22 class RenderText; |
22 } // namespace gfx | 23 } // namespace gfx |
23 | 24 |
24 namespace ui { | 25 namespace ui { |
25 class Range; | 26 class Range; |
26 } // namespace ui | 27 } // namespace ui |
27 | 28 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // 2) new edit is added. (redo history is cleared) | 307 // 2) new edit is added. (redo history is cleared) |
307 // 3) redone all undone edits. | 308 // 3) redone all undone edits. |
308 EditHistory::iterator current_edit_; | 309 EditHistory::iterator current_edit_; |
309 | 310 |
310 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); | 311 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); |
311 }; | 312 }; |
312 | 313 |
313 } // namespace views | 314 } // namespace views |
314 | 315 |
315 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ | 316 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ |
OLD | NEW |