diff options
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_gtk.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index f3f1d9f..6f14da9 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -109,6 +109,22 @@ class AutocompleteEditViewGtk : public AutocompleteEditView { } void HandleEndUserAction(); + static gboolean HandleKeyPressThunk(GtkWidget* widget, + GdkEventKey* event, + gpointer self) { + return reinterpret_cast<AutocompleteEditViewGtk*>(self)->HandleKeyPress( + widget, event); + } + gboolean HandleKeyPress(GtkWidget* widget, GdkEventKey* event); + + static gboolean HandleKeyReleaseThunk(GtkWidget* widget, + GdkEventKey* event, + gpointer self) { + return reinterpret_cast<AutocompleteEditViewGtk*>(self)->HandleKeyRelease( + widget, event); + } + gboolean HandleKeyRelease(GtkWidget* widget, GdkEventKey* event); + static void HandleViewSizeRequest(GtkWidget* view, GtkRequisition* req, gpointer unused); |