| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 | 11 |
| 12 namespace gfx { | 12 namespace gfx { |
| 13 class Insets; | 13 class Insets; |
| 14 } // namespace gfx | 14 } // namespace gfx |
| 15 | 15 |
| 16 namespace views { | 16 namespace views { |
| 17 | 17 |
| 18 class KeyEvent; | 18 class KeyEvent; |
| 19 class Textfield; | 19 class Textfield; |
| 20 class TextRange; | 20 class TextRange; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 virtual void HandleDidGainFocus() = 0; | 118 virtual void HandleDidGainFocus() = 0; |
| 119 virtual void HandleWillLoseFocus() = 0; | 119 virtual void HandleWillLoseFocus() = 0; |
| 120 | 120 |
| 121 // Creates an appropriate NativeTextfieldWrapper for the platform. | 121 // Creates an appropriate NativeTextfieldWrapper for the platform. |
| 122 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); | 122 static NativeTextfieldWrapper* CreateWrapper(Textfield* field); |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace views | 125 } // namespace views |
| 126 | 126 |
| 127 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ | 127 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WRAPPER_H_ |
| OLD | NEW |