OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
16 #include "ui/base/ime/composition_text.h" | 16 #include "ui/base/ime/composition_text.h" |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/rect.h" |
18 #include "ui/gfx/render_text.h" | 18 #include "ui/gfx/render_text.h" |
19 #include "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 |
24 | 24 |
25 namespace ui { | 25 namespace ui { |
26 class Range; | 26 class Range; |
27 } // namespace ui | 27 } // namespace ui |
28 | 28 |
29 namespace views { | 29 namespace views { |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 // 2) new edit is added. (redo history is cleared) | 320 // 2) new edit is added. (redo history is cleared) |
321 // 3) redone all undone edits. | 321 // 3) redone all undone edits. |
322 EditHistory::iterator current_edit_; | 322 EditHistory::iterator current_edit_; |
323 | 323 |
324 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); | 324 DISALLOW_COPY_AND_ASSIGN(TextfieldViewsModel); |
325 }; | 325 }; |
326 | 326 |
327 } // namespace views | 327 } // namespace views |
328 | 328 |
329 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ | 329 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_VIEWS_MODEL_H_ |
OLD | NEW |