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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 #include "views/views_export.h" | 11 #include "ui/views/views_export.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 class Insets; | 14 class Insets; |
15 class SelectionModel; | 15 class SelectionModel; |
16 struct StyleRange; | 16 struct StyleRange; |
17 } // namespace gfx | 17 } // namespace gfx |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class Range; | 20 class Range; |
21 class TextInputClient; | 21 class TextInputClient; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Clears Edit history. | 144 // Clears Edit history. |
145 virtual void ClearEditHistory() = 0; | 145 virtual void ClearEditHistory() = 0; |
146 | 146 |
147 // Creates an appropriate NativeTextfieldWrapper for the platform. | 147 // Creates an appropriate NativeTextfieldWrapper for the platform. |
148 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); | 148 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace views | 151 } // namespace views |
152 | 152 |
153 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 153 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
OLD | NEW |