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/strings/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/gfx/text_constants.h" |
19 #include "ui/views/views_export.h" | 19 #include "ui/views/views_export.h" |
20 | 20 |
21 namespace gfx { | 21 namespace gfx { |
22 class RenderText; | 22 class RenderText; |
23 } // namespace gfx | 23 } // namespace gfx |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 // 2) new edit is added. (redo history is cleared) | 307 // 2) new edit is added. (redo history is cleared) |
308 // 3) redone all undone edits. | 308 // 3) redone all undone edits. |
309 EditHistory::iterator current_edit_; | 309 EditHistory::iterator current_edit_; |
310 | 310 |
311 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); | 311 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); |
312 }; | 312 }; |
313 | 313 |
314 } // namespace views | 314 } // namespace views |
315 | 315 |
316 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ | 316 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ |
OLD | NEW |