| 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_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
| 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
| 17 #include "ui/base/ime/text_input_type.h" | 17 #include "ui/base/ime/text_input_type.h" |
| 18 #include "ui/base/keycodes/keyboard_codes.h" | 18 #include "ui/base/keycodes/keyboard_codes.h" |
| 19 #include "ui/gfx/font.h" | 19 #include "ui/gfx/font.h" |
| 20 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
| 21 #include "ui/views/controls/textfield/native_textfield_wrapper.h" | 21 #include "ui/views/controls/textfield/native_textfield_wrapper.h" |
| 22 #include "views/view.h" | 22 #include "ui/views/view.h" |
| 23 | 23 |
| 24 #if !defined(OS_LINUX) | 24 #if !defined(OS_LINUX) |
| 25 #include "base/logging.h" | 25 #include "base/logging.h" |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 namespace gfx { | 28 namespace gfx { |
| 29 struct StyleRange; | 29 struct StyleRange; |
| 30 } // namespace gfx | 30 } // namespace gfx |
| 31 | 31 |
| 32 namespace ui { | 32 namespace ui { |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 306 |
| 307 // The input type of this text field. | 307 // The input type of this text field. |
| 308 ui::TextInputType text_input_type_; | 308 ui::TextInputType text_input_type_; |
| 309 | 309 |
| 310 DISALLOW_COPY_AND_ASSIGN(Textfield); | 310 DISALLOW_COPY_AND_ASSIGN(Textfield); |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace views | 313 } // namespace views |
| 314 | 314 |
| 315 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ | 315 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ |
| OLD | NEW |