| Index: views/controls/textfield/native_textfield_gtk.h
|
| diff --git a/views/controls/textfield/native_textfield_gtk.h b/views/controls/textfield/native_textfield_gtk.h
|
| index 76225211085efc7dcf41eca8a4b8c009aba4f983..12d07fd6e6246a892a8751cd189650f8aa85a009 100644
|
| --- a/views/controls/textfield/native_textfield_gtk.h
|
| +++ b/views/controls/textfield/native_textfield_gtk.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <gtk/gtk.h>
|
|
|
| +#include "app/gtk_signal.h"
|
| #include "base/string16.h"
|
| #include "views/controls/native_control_gtk.h"
|
| #include "views/controls/textfield/native_textfield_wrapper.h"
|
| @@ -19,6 +20,12 @@ class NativeTextfieldGtk : public NativeControlGtk,
|
| explicit NativeTextfieldGtk(Textfield* parent);
|
| ~NativeTextfieldGtk();
|
|
|
| + // Returns the textfield this NativeTextfieldGtk wraps.
|
| + Textfield* textfield() const { return textfield_; }
|
| +
|
| + // Returns the inner border of the entry.
|
| + static gfx::Insets GetEntryInnerBorder(GtkEntry* entry);
|
| +
|
| // Overridden from NativeTextfieldWrapper:
|
| virtual string16 GetText() const;
|
| virtual void UpdateText();
|
|
|