| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
| 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
| 7 | 7 |
| 8 #include "app/gfx/native_widget_types.h" |
| 8 #include "base/string16.h" | 9 #include "base/string16.h" |
| 9 #include "base/gfx/native_widget_types.h" | |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Insets; | 12 class Insets; |
| 13 } // namespace gfx | 13 } // namespace gfx |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 | 16 |
| 17 class Textfield; | 17 class Textfield; |
| 18 class View; | 18 class View; |
| 19 | 19 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // Returns a handle to the underlying native view for testing. | 79 // Returns a handle to the underlying native view for testing. |
| 80 virtual gfx::NativeView GetTestingHandle() const = 0; | 80 virtual gfx::NativeView GetTestingHandle() const = 0; |
| 81 | 81 |
| 82 // Creates an appropriate NativeTextfieldWrapper for the platform. | 82 // Creates an appropriate NativeTextfieldWrapper for the platform. |
| 83 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); | 83 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace views | 86 } // namespace views |
| 87 | 87 |
| 88 #endif // #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 88 #endif // #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
| OLD | NEW |