OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ | 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ | 6 #define VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
7 | 7 |
8 #if defined (OS_LINUX) | 8 #if defined (OS_LINUX) |
9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
10 #endif | 10 #endif |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "app/gfx/font.h" | |
15 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
16 #include "base/keyboard_codes.h" | 15 #include "base/keyboard_codes.h" |
17 #include "base/string16.h" | 16 #include "base/string16.h" |
| 17 #include "gfx/font.h" |
18 #include "views/view.h" | 18 #include "views/view.h" |
19 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
20 | 20 |
21 #ifdef UNIT_TEST | 21 #ifdef UNIT_TEST |
22 #include "gfx/native_widget_types.h" | 22 #include "gfx/native_widget_types.h" |
23 #include "views/controls/textfield/native_textfield_wrapper.h" | 23 #include "views/controls/textfield/native_textfield_wrapper.h" |
24 #endif | 24 #endif |
25 | 25 |
26 namespace views { | 26 namespace views { |
27 | 27 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 273 |
274 // The storage string for the accessibility name associated with this control. | 274 // The storage string for the accessibility name associated with this control. |
275 std::wstring accessible_name_; | 275 std::wstring accessible_name_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(Textfield); | 277 DISALLOW_COPY_AND_ASSIGN(Textfield); |
278 }; | 278 }; |
279 | 279 |
280 } // namespace views | 280 } // namespace views |
281 | 281 |
282 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ | 282 #endif // VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
OLD | NEW |