| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_GTK_H_ | 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ | 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| 7 | 7 |
| 8 #include "views/controls/native_control_gtk.h" | 8 #include "views/controls/native_control_gtk.h" |
| 9 #include "views/controls/textfield/native_textfield_wrapper.h" | 9 #include "views/controls/textfield/native_textfield_wrapper.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 virtual void SetHorizontalMargins(int left, int right); | 31 virtual void SetHorizontalMargins(int left, int right); |
| 32 virtual void SetFocus(); | 32 virtual void SetFocus(); |
| 33 virtual View* GetView(); | 33 virtual View* GetView(); |
| 34 virtual gfx::NativeView GetTestingHandle() const; | 34 virtual gfx::NativeView GetTestingHandle() const; |
| 35 | 35 |
| 36 // Overridden from NativeControlGtk: | 36 // Overridden from NativeControlGtk: |
| 37 virtual void CreateNativeControl(); | 37 virtual void CreateNativeControl(); |
| 38 virtual void NativeControlCreated(GtkWidget* widget); | 38 virtual void NativeControlCreated(GtkWidget* widget); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 Textfield* textfield_; |
| 42 |
| 41 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldGtk); | 43 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldGtk); |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 } // namespace views | 46 } // namespace views |
| 45 | 47 |
| 46 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ | 48 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| OLD | NEW |