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_NATIVE_TEXTFIELD_WRAPPER_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
7 | 7 |
8 #include "base/string16.h" | |
9 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
| 9 #include "base/strings/string16.h" |
10 #include "ui/base/range/range.h" | 10 #include "ui/base/range/range.h" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 #include "ui/gfx/selection_model.h" | 12 #include "ui/gfx/selection_model.h" |
13 #include "ui/gfx/text_constants.h" | 13 #include "ui/gfx/text_constants.h" |
14 #include "ui/views/views_export.h" | 14 #include "ui/views/views_export.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Insets; | 17 class Insets; |
18 } // namespace gfx | 18 } // namespace gfx |
19 | 19 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // Returns whether there is a drag operation originating from the textfield. | 181 // Returns whether there is a drag operation originating from the textfield. |
182 virtual bool HasTextBeingDragged() = 0; | 182 virtual bool HasTextBeingDragged() = 0; |
183 | 183 |
184 // Creates an appropriate NativeTextfieldWrapper for the platform. | 184 // Creates an appropriate NativeTextfieldWrapper for the platform. |
185 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); | 185 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace views | 188 } // namespace views |
189 | 189 |
190 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 190 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
OLD | NEW |