| 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 7e1f7e86578996aa8a0378c1cab9c33cd0c2f232..afbb154832c9b18f32f029b63af7eac35d3cb61d 100644
|
| --- a/views/controls/textfield/native_textfield_gtk.h
|
| +++ b/views/controls/textfield/native_textfield_gtk.h
|
| @@ -41,19 +41,26 @@ class NativeTextfieldGtk : public NativeControlGtk,
|
| virtual void UpdateFont();
|
| virtual void UpdateIsPassword();
|
| virtual void UpdateEnabled();
|
| - virtual bool IsPassword();
|
| virtual gfx::Insets CalculateInsets();
|
| virtual void UpdateHorizontalMargins();
|
| virtual void UpdateVerticalMargins();
|
| - virtual void SetFocus();
|
| + virtual bool SetFocus();
|
| virtual View* GetView();
|
| virtual gfx::NativeView GetTestingHandle() const;
|
| virtual bool IsIMEComposing() const;
|
| + virtual bool HandleKeyPressed(const views::KeyEvent& e);
|
| + virtual bool HandleKeyReleased(const views::KeyEvent& e);
|
| + virtual void HandleWillGainFocus();
|
| + virtual void HandleDidGainFocus();
|
| + virtual void HandleWillLoseFocus();
|
|
|
| // Overridden from NativeControlGtk:
|
| virtual void CreateNativeControl();
|
| virtual void NativeControlCreated(GtkWidget* widget);
|
|
|
| + // Returns true if the textfield is for password.
|
| + bool IsPassword();
|
| +
|
| private:
|
| Textfield* textfield_;
|
|
|
|
|